Skip to content

build(deps): Bump pyjwt from 2.12.0 to 2.13.0 #143

build(deps): Bump pyjwt from 2.12.0 to 2.13.0

build(deps): Bump pyjwt from 2.12.0 to 2.13.0 #143

Workflow file for this run

name: Generate Docs
on:
push:
branches:
- main
pull_request: {}
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
name: Build Docs
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
version: "latest"
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install dependencies
run: uv sync --group dev
- name: Build documentation
run: uv run poe docs-generate
- name: Get generated docs directory
id: docs-dir
run: echo "path=$(uv run poe -q get-generated-docs-dir)" >> $GITHUB_OUTPUT
- name: Upload docs artifacts
uses: actions/upload-artifact@v4
with:
name: docs-${{ github.run_id }}
path: ${{ steps.docs-dir.outputs.path }}
- name: Setup Pages
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: actions/configure-pages@v5
- name: Upload Pages artifact
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v3
with:
path: ${{ steps.docs-dir.outputs.path }}
deploy:
name: Publish Docs
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4