Skip to content

Merge pull request #224 from WeihanLi/dev #59

Merge pull request #224 from WeihanLi/dev

Merge pull request #224 from WeihanLi/dev #59

Workflow file for this run

name: docs
on:
push:
branches:
- main
- master
jobs:
build:
name: Build
runs-on: windows-latest
steps:
# Check out the branch that triggered this workflow to the 'source' subdirectory
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: install DocFX
run: "dotnet tool install -g docfx"
- name: Build docs
run: "docfx ./docs/docfx.json"
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_site