Skip to content

ci(docs): add workflow_dispatch and Pages concurrency to docs deploy#169

Merged
zeevdr merged 1 commit into
mainfrom
ci/docs-deploy-hardening
Jul 8, 2026
Merged

ci(docs): add workflow_dispatch and Pages concurrency to docs deploy#169
zeevdr merged 1 commit into
mainfrom
ci/docs-deploy-hardening

Conversation

@zeevdr

@zeevdr zeevdr commented Jul 8, 2026

Copy link
Copy Markdown
Member

Summary

Publishes the Python SDK docs to GitHub Pages, closing the last gap where Python
was the only SDK without a live docs site (Go on pkg.go.dev, TypeScript and the
Admin UI already publish).

Root cause: the Deploy Docs workflow built the site correctly, but every run
failed at the deploy step because GitHub Pages was never enabled on the
repository — actions/deploy-pages returned 404 ... Ensure GitHub Pages has been enabled. The mkdocs config, make docs target, deploy workflow, and README links
were all already in place; only the repo setting was missing.

Resolution:

  • Enabled GitHub Pages with the GitHub Actions source (build_type=workflow)
    via the Pages API.
  • Re-ran the Deploy Docs workflow; build and deploy jobs are now green and the
    site is live.
  • Hardened the workflow (this PR's diff): added a workflow_dispatch trigger so the
    docs can be redeployed manually, and a pages concurrency group so overlapping
    deploys are serialized — mirroring decree-typescript.

Test plan

  • Deploy Docs workflow succeeds end-to-end (build + deploy jobs green)
  • Live site returns 200: /, /guide/connect/, /guide/watch/, /guide/async/, /api/
  • Docs URL matches the README badge and Documentation section (https://opendecree.github.io/decree-python)
  • Workflow YAML validates (pre-commit)

Closes #165

Allow the docs site to be redeployed manually via the Actions UI, and
serialize Pages deployments with a `pages` concurrency group so a later
push cannot race an in-flight deploy. Mirrors the docs workflow in
decree-typescript.

Refs #165

Co-Authored-By: Claude <noreply@anthropic.com>
@zeevdr zeevdr added this to the Beta Readiness milestone Jul 8, 2026
@zeevdr zeevdr added size: S Quick win — a few hours or less priority: P0 Blocks alpha or release labels Jul 8, 2026
@codecov

codecov Bot commented Jul 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@zeevdr zeevdr merged commit 54858f6 into main Jul 8, 2026
15 checks passed
@zeevdr zeevdr deleted the ci/docs-deploy-hardening branch July 8, 2026 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: P0 Blocks alpha or release size: S Quick win — a few hours or less

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publish Python SDK docs to GitHub Pages

1 participant