Final updates for 0.20.0 #63
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- "*" | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download source | |
uses: actions/checkout@v2 | |
- name: Install Mint | |
uses: fabasoad/setup-mint-action@main | |
with: | |
version: 0.20.0 | |
- name: Install dependencies | |
run: mint install | |
- name: Build | |
run: mint build | |
- if: github.ref == 'refs/heads/master' | |
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 }} |