Skip to content

ci: bump actions to Node 24 runtimes; add workflow_dispatch to publish #2

ci: bump actions to Node 24 runtimes; add workflow_dispatch to publish

ci: bump actions to Node 24 runtimes; add workflow_dispatch to publish #2

Workflow file for this run

name: Docs
# Builds the MkDocs site and deploys it to the gh-pages branch.
# Point GitHub Pages at the gh-pages branch (Settings > Pages) once.
on:
push:
branches: [main]
paths:
- "docs/**"
- "mkdocs.yml"
- "src/**"
- ".github/workflows/docs.yml"
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Create virtual environment
run: uv venv --python 3.12
- name: Install package with docs extras
run: uv pip install -e ".[docs]"
- name: Build and deploy to gh-pages
run: uv run --no-project mkdocs gh-deploy --force --no-history