Skip to content

Deploy

Deploy #1

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install tools from asdf config
uses: ai/asdf-cache-action@v1
- name: Install Dependencies
run: mint install
- name: Run Tests
run: mint test
- name: Build
run: mint build -e .env.production
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v1.2
with:
production-deploy: true
publish-dir: dist
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}