Skip to content

Publish Release

Publish Release #6

Workflow file for this run

name: Publish Release
"on": workflow_dispatch
jobs:
deploy-docs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
contents: read
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Dotnet Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.x
- name: Install docfx
run: dotnet tool update -g docfx
- name: Generate docs
run: docfx Docs/docfx.json
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'Docs/_site'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1