Merge pull request #53 from fable-compiler/dependabot/npm_and_yarn/gh… #47
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: Publish | |
on: | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '5.0.x' | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: Install and use custom node version | |
run: npm i -g npm@7 | |
- name: Package restore | |
run: npm install | |
- name: Build site | |
run: npm run docs:build | |
- name: Deploy site | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
personal_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs_deploy |