Skip to content

Bump FSharp.Core from 7.0.400 to 7.0.401 (#412) #131

Bump FSharp.Core from 7.0.400 to 7.0.401 (#412)

Bump FSharp.Core from 7.0.400 to 7.0.401 (#412) #131

name: Build & Deploy Docs
on:
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: |
5.0.x
6.0.x
- uses: actions/cache@v3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.?sproj') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Install docfx
run: dotnet tool install --global docfx
- name: Compile
run: dotnet build -c Release
- name: Generate docs
run: docfx ./docs/docfx.json
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_site/