Skip to content

Merge pull request #235 from WeihanLi/dev #61

Merge pull request #235 from WeihanLi/dev

Merge pull request #235 from WeihanLi/dev #61

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: 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