Skip to content

Simplify Renovate

Simplify Renovate #6

Workflow file for this run

# Build and publish documentation
name: "docs"
permissions:
contents: "read"
pages: "write"
id-token: "write"
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
on:
workflow_dispatch:
pull_request:
push:
branches: ["main"]
defaults:
run:
shell: "pwsh"
env:
UV_SYSTEM_PYTHON: "true"
jobs:
build:
runs-on: "ubuntu-22.04"
steps:
- uses: "actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11" # v4.1.1
with:
submodules: True
- uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0
with:
python-version: "3.11"
- run: "scripts/Sync-Py.ps1"
- run: "sphinx-build -EaT docs _site"
- uses: "actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa" # v3.0.1
deploy:
if: github.event_name != 'pull_request'
environment:
name: "github-pages"
url: "${{ steps.deployment.outputs.page_url }}"
runs-on: "ubuntu-22.04"
needs: "build"
steps:
- id: "deployment"
uses: "actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e" # v4.0.5