Skip to content

Merge pull request #53 from fable-compiler/dependabot/npm_and_yarn/gh… #47

Merge pull request #53 from fable-compiler/dependabot/npm_and_yarn/gh…

Merge pull request #53 from fable-compiler/dependabot/npm_and_yarn/gh… #47

Workflow file for this run

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