Files
darth-veitcher-comfydv/.github/workflows/docs.yml
T
James VeitchandClaude Sonnet 4.6 fbf73a7d74 fix(ci): use --group docs instead of --extra docs for uv sync
dependency-groups in pyproject.toml are not optional-dependencies extras;
uv sync uses --group <name> to include them.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RWysE6jYn4YjNorLBQ1cXb
2026-06-29 14:53:18 +01:00

34 lines
814 B
YAML

name: Deploy docs
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install dependencies
run: uv sync --group docs
- name: Configure git for gh-pages push
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Deploy docs with mike
run: |
VERSION=$(uv run python -c "import tomllib; d=tomllib.load(open('pyproject.toml','rb')); print(d['project']['version'])")
uv run mike deploy --push --update-aliases "$VERSION" stable