Skip to content

Update README.md

Update README.md #30

name: "Generate API Reference"
on:
push:
branches:
- main
permissions:
actions: read
pages: write
id-token: write
contents: read
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
publish-docs:
name: Build with DocFx and publish to GitHub Pages
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup .NET
uses: ./.github/actions/setup-dotnet
- name: Install DocFx
run: dotnet tool update -g docfx
- name: Build API Reference using DocFx
run: docfx docfx.json
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "_site"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4