Skip to content

Bump the codeql group with 2 updates #562

Bump the codeql group with 2 updates

Bump the codeql group with 2 updates #562

Workflow file for this run

name: Build documentation
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup .NET
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: 8.x
- name: Install DocFX
run: dotnet tool update -g docfx
- name: Build Documentation
run: docfx --warningsAsErrors docfx.json
working-directory: ./docs
- name: Upload Site Artifact
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: './docs/_site'
deploy:
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && !github.event.repository.fork
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0