Skip to content

chore(python): bump the python-packages group across 1 directory with 3 updates #5

chore(python): bump the python-packages group across 1 directory with 3 updates

chore(python): bump the python-packages group across 1 directory with 3 updates #5

Workflow file for this run

name: Build Python documentation
on:
pull_request:
paths:
- docs/**
- .github/workflows/docs-python.yml
push:
branches:
- main
paths:
- docs/**
- .github/workflows/docs-python.yml
repository_dispatch:
types: [test-python]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
build-python-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create virtual environment
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv
echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
echo "VIRTUAL_ENV=$GITHUB_WORKSPACE/.venv" >> $GITHUB_ENV
- name: Install Python dependencies
working-directory: docs
run: uv pip install -r requirements-docs.txt
- name: Build Python documentation
working-directory: docs
run: make html
- name: Deploy Python docs for latest development version
if: github.event_name == 'push' && github.ref_name == 'uPPPP'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs/build/html