Add federated keyless support (#8) #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |