Skip to content

docs

docs #78

Workflow file for this run

on:
workflow_run:
types: [completed]
branches: [main]
workflows: [tests]
permissions:
pages: write
actions: read
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
name: docs
jobs:
deploy:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/download-artifact@v4
with:
name: build
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.x
- name: Generate Pages
run: |
cd docs
dotnet run -f net9.0
- uses: actions/upload-pages-artifact@v3
with:
path: site
- uses: actions/deploy-pages@v4
runs-on: ubuntu-latest