Skip to content

DocFX Build and Publish #2

DocFX Build and Publish

DocFX Build and Publish #2

Workflow file for this run

name: DocFX Build and Publish
on:
workflow_dispatch
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Install DocFX
run: dotnet tool install -g docfx
- name: Build Documentation
run: docfx docs/docfx.json
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_site