Skip to content

Bump actions/checkout from 3 to 4 in publish-docs (#502) #4

Bump actions/checkout from 3 to 4 in publish-docs (#502)

Bump actions/checkout from 3 to 4 in publish-docs (#502) #4

Workflow file for this run

name: Publish Docs
on:
push:
branches:
- master
permissions:
actions: read
pages: write
id-token: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Run Preprocessing Script
run: python docs/tools/preprocess_docs.py
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x
- name: Install DocFX
run: dotnet tool update -g docfx
- name: Build Documentation
run: docfx docfx.json
- name: Upload Site Artifact
uses: actions/upload-pages-artifact@v3
with:
path: '_site'
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4