Make term notation clearer (#11) #15
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
# .github/workflows/netlify.yml | |
name: Build guide and Deploy to Netlify | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup mdBook | |
uses: peaceiris/actions-mdbook@v1 | |
with: | |
mdbook-version: '0.4.3' | |
# mdbook-version: 'latest' | |
# Build to ./book | |
- run: mdbook build | |
- name: Deploy to Netlify | |
uses: nwtgck/actions-netlify@v1.1 | |
with: | |
publish-dir: './book' | |
production-deploy: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
enable-pull-request-comment: false | |
enable-commit-comment: false | |
env: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
timeout-minutes: 1 |