Skip to content

Merge pull request #92 from elmish/dependabot/npm_and_yarn/gh-pages-5… #38

Merge pull request #92 from elmish/dependabot/npm_and_yarn/gh-pages-5…

Merge pull request #92 from elmish/dependabot/npm_and_yarn/gh-pages-5… #38

Workflow file for this run

name: Publish
on:
push:
branches:
- v4.x
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install and use custom npm version
run: npm i -g npm@7
- name: Install NPM dependencies
run: npm install
- name: Build site
run: ./build.fsx -t GenerateDocs
- name: Deploy site
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs_deploy