Skip to content

build(deps): bump idna from 3.11 to 3.15 #23

build(deps): bump idna from 3.11 to 3.15

build(deps): bump idna from 3.11 to 3.15 #23

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- main
paths:
- 'docs/site/**'
- 'mkdocs.yml'
- 'requirements-docs.txt'
- '.github/workflows/docs.yml'
pull_request:
branches:
- main
paths:
- 'docs/site/**'
- 'mkdocs.yml'
- 'requirements-docs.txt'
- '.github/workflows/docs.yml'
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
PYTHON_VERSION: "3.12"
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
# ─────────────────────────────────────────────────────────────────────────────
# Build — runs on all pushes / PRs to verify docs build correctly
# ─────────────────────────────────────────────────────────────────────────────
build:
name: Build Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # full history needed for git-revision-date plugin
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: pip
cache-dependency-path: requirements-docs.txt
- name: Install MkDocs dependencies
run: pip install -r requirements-docs.txt
- name: Build documentation
run: mkdocs build --strict --verbose
env:
# suppress noisy git warnings in CI
GIT_COMMITTER_NAME: github-actions
GIT_COMMITTER_EMAIL: github-actions@github.com
- name: Upload built site as artifact
uses: actions/upload-pages-artifact@v3
with:
path: site/
# ─────────────────────────────────────────────────────────────────────────────
# Deploy — only on pushes to main (not PRs)
# ─────────────────────────────────────────────────────────────────────────────
deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4