Skip to content

Workflow file for this run

name: Publish docs via GitHub Pages
on:
push:
branches:
- main
# Cancel if a newer run is started
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v4
- name: Python 3.10 Setup
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install requirements for docs
run: |
sudo apt-get update
pip install -U uv
uv pip install --system -r docs/requirements.txt
- name: Build and deploy docs
run: mkdocs gh-deploy --force