Skip to content

Support Multiple Credentials in Kernel Mode Schannel #878

Support Multiple Credentials in Kernel Mode Schannel

Support Multiple Credentials in Kernel Mode Schannel #878

Workflow file for this run

name: Deploy DocFx
on:
workflow_dispatch:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
paths: ["docs/**", ".github/workflows/publish-docfx.yml"]
pull_request:
branches: ["main"]
paths: ["docs/**", ".github/workflows/publish-docfx.yml"]
permissions: read-all
concurrency:
# Cancel any workflow currently in progress for the same PR.
# Allow running concurrently with any other commits.
group: deploy-docfx-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
publish-docs:
permissions:
contents: write
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Dotnet Setup
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7
with:
dotnet-version: 10.0.x
- run: dotnet tool update -g docfx
- run: chmod +x ./scripts/prepare-docfx.ps1
- run: ./scripts/prepare-docfx.ps1
shell: pwsh
- run: chmod +x ./scripts/generate-docfx-yml.ps1
- run: ./scripts/generate-docfx-yml.ps1 ./docs
shell: pwsh
- run: chmod +x ./scripts/docfx-replace-url.ps1
shell: pwsh
- run: ./scripts/docfx-replace-url.ps1
shell: pwsh
- run: Set-Item -Path Env:DOCFX_SOURCE_BRANCH_NAME -Value 'main'
shell: pwsh
- run: docfx docfx.json
- run: chmod +x ./scripts/update-docfx-site.ps1
- name: Commit Changes
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'workflow_dispatch')
run: ./scripts/update-docfx-site.ps1
shell: pwsh