* generate based on v1.32 * bump ver * Delete swagger.json.unprocessed * Update target frameworks and SDK versions in project files * Remove extra API endpoint from swagger.json * Update .NET SDK version to 9.0.x and adjust package references * happy build * Enhance certificate handling for .NET 9.0 compatibility in CertUtils and KubernetesClientConfiguration * Add mapping for V1beta1ResourceClaim to V1ResourceClaim in AutoMapper configurations * Refactor certificate loading to improve compatibility with .NET 9.0 * Update package versions in Directory.Packages.props for improved compatibility and features * Update Fractions package version to 7.3.0 for improved compatibility
57 lines
1.2 KiB
YAML
57 lines
1.2 KiB
YAML
name: Docfx
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
permissions:
|
|
contents: read
|
|
pages: write
|
|
id-token: write
|
|
|
|
# Allow one concurrent deployment
|
|
concurrency:
|
|
group: "pages"
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
docfx:
|
|
runs-on: ubuntu-latest
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Setup dotnet
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: |
|
|
8.0.x
|
|
9.0.x
|
|
|
|
- name: Build
|
|
run: dotnet build -c Release
|
|
|
|
- uses: nunit/docfx-action@v3.4.2
|
|
name: Build Documentation
|
|
with:
|
|
args: doc/docfx.json
|
|
|
|
- name: Setup Pages
|
|
uses: actions/configure-pages@v5
|
|
- name: Upload artifact
|
|
uses: actions/upload-pages-artifact@v3
|
|
with:
|
|
# Upload entire repository
|
|
path: doc/_site
|
|
- name: Deploy to GitHub Pages
|
|
id: deployment
|
|
uses: actions/deploy-pages@v4
|