Skip to content

Merge pull request #181 from WeihanLi/dev #46

Merge pull request #181 from WeihanLi/dev

Merge pull request #181 from WeihanLi/dev #46

Workflow file for this run

name: docs
on:
push:
branches:
- main
- master
# - dev
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@v3
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: install DocFX
run: "dotnet tool install -g docfx"
# - name: output current dir
# run: "dir"
- 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