Skip to content

ci: migrate docs to GH Actions + bump action versions#28

Merged
lesnik512 merged 8 commits into
mainfrom
chore/mkdocs-gh-actions
Jun 9, 2026
Merged

ci: migrate docs to GH Actions + bump action versions#28
lesnik512 merged 8 commits into
mainfrom
chore/mkdocs-gh-actions

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Summary

  • Migrate docs hosting from Read the Docs to GitHub Pages via new docs.yml workflow
  • Extract ci.yml jobs into reusable _checks.yml (mirrors modern-di)
  • Bump action versions across all workflows: checkout@v4@v6, setup-just@v2@v4, setup-uv@v3@v8.2.0
  • Add just docs-deploy recipe
  • Delete .readthedocs.yaml

Spec: planning/specs/2026-06-09-mkdocs-gh-actions-design.md
Plan: planning/plans/2026-06-09-mkdocs-gh-actions-plan.md

Heads-up: status check names change

CI status check names change shape because the lint/pytest jobs now sit inside the reusable workflow:

Before After
main / lint main / checks / lint
main / pytest (3.13) main / checks / pytest (3.13)
main / pytest (3.14) main / checks / pytest (3.14)

If branch protection on main references the old check names, the rules need updating after merge or this PR's checks won't satisfy them.

Operational follow-up (after merge)

After the first successful docs.yml run creates the gh-pages branch:

  1. Repo Settings → Pages → Source: Deploy from a branch, Branch: gh-pages / (root).
  2. Verify the published URL renders the site.
  3. Update README badge / docs link — currently README.md line ~172 still points at https://faststream-redis-timers.readthedocs.io. (Intentionally deferred; the spec marks README updates as out of scope.)
  4. (Optional) Delete the Read the Docs project from the RTD dashboard.

Test plan

  • CI on this PR (main / checks / lint, main / checks / pytest (3.13), main / checks / pytest (3.14)) passes
  • After merge to main, docs.yml triggers automatically (this PR touches .github/workflows/docs.yml)
  • gh-pages branch is created on first successful docs.yml run
  • Manual workflow_dispatch of docs.yml works
  • Configure Pages source (see follow-up step 1)
  • Published site renders at the GitHub Pages URL

🤖 Generated with Claude Code

lesnik512 and others added 8 commits June 9, 2026 14:46
Move docs hosting from Read the Docs to GitHub Pages via a new
docs.yml workflow, extract ci.yml jobs into a reusable _checks.yml
(mirroring modern-di), and bump pinned action versions.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Mirrors modern-di. Used by the upcoming docs.yml workflow and lets
maintainers reproduce the deploy locally if needed.
Mirrors modern-di's reusable workflow layout. Keeps the redis service
block and inline pytest command (just test runs docker compose, which
is incompatible with GH Actions service containers).

Bumps: checkout v4->v6, setup-just v2->v4, setup-uv v3->v8.2.0.
Triggers and concurrency unchanged. All jobs now live in the reusable
workflow, matching modern-di's layout.
Triggers on push to main when docs/, mkdocs.yml, or this workflow
changes. Force-pushes the built site to gh-pages via the new
just docs-deploy recipe. Replaces Read the Docs as the docs host.

GitHub Pages source must be set to gh-pages / (root) in repo settings
after the first successful run.
checkout v4->v6, setup-just v2->v4, setup-uv v3->v8.2.0. No behavior
change.
Read the Docs is no longer the docs host. docs/requirements.txt
remains and is consumed by mkdocs gh-deploy via uvx --with-requirements.

After this PR merges and the first docs.yml run creates the gh-pages
branch, set repo Settings -> Pages -> Source: gh-pages / (root).
@lesnik512 lesnik512 self-assigned this Jun 9, 2026
@lesnik512 lesnik512 merged commit 798b6ae into main Jun 9, 2026
3 checks passed
@lesnik512 lesnik512 deleted the chore/mkdocs-gh-actions branch June 9, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant