Skip to content

ci: build all doc versions in one run and open a single deploy PR#15266

Merged
skjnldsv merged 2 commits into
masterfrom
feature/consolidate-deploy-single-pr
Jul 2, 2026
Merged

ci: build all doc versions in one run and open a single deploy PR#15266
skjnldsv merged 2 commits into
masterfrom
feature/consolidate-deploy-single-pr

Conversation

@skjnldsv

@skjnldsv skjnldsv commented Jul 2, 2026

Copy link
Copy Markdown
Member

Ok, I'm a bit tired of seeing all those docs bump PRs 🙈
So I decided we could most likely move the cron job into a one PR approach instead of multiple (like those: #15260, #15261, #15262, #15263, #15264 and #15265...)

  1. .github/workflows/build-docs.yml Unifying the build workflow processes into one workflow file
  2. Using that new workflow Trait on the usual PR sphinx build check
  3. Using that new workflow Trait on a new cron job build

@github-actions github-actions Bot added the github_actions Pull requests that update GitHub Actions code label Jul 2, 2026
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

📖 Documentation Preview

🔍 Open preview →

No RST documentation pages changed in this PR.

Last updated: Thu, 02 Jul 2026 13:19:12 GMT

The nightly build fanned out one sphinxbuild.yml run per branch, and each
run opened its own gh-pages deploy PR — 5+ PRs every night. Consolidate into
one run that produces one PR.

- build-docs.yml: new reusable (workflow_call) workflow holding all build +
  stage logic, parameterized by branch/ref. Intermediate artifacts are
  namespaced per branch so multiple versions can build in one run.
- sphinxbuild.yml: PR/push CI now calls build-docs, keeping only link-check
  and the Netlify preview. Deploy logic removed.
- deploy-docs.yml: new scheduled workflow. A matrix over master + every stable
  branch builds each version via build-docs (fail-fast disabled), then a single
  deploy job applies all versions to gh-pages and opens ONE pull request. A
  version that fails to build is simply not deployed, without blocking others.
- schedule-builds.yml: removed; the matrix replaces the dispatch fan-out.

The go.php and user_manual language redirects are now taken from the default
branch for every version (previously per-branch); they are branch-agnostic
stubs.

Assisted-by: ClaudeCode:claude-opus-4-8
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
@skjnldsv skjnldsv force-pushed the feature/consolidate-deploy-single-pr branch from bae798b to 840501f Compare July 2, 2026 12:48
@skjnldsv skjnldsv enabled auto-merge July 2, 2026 12:54
Comment thread .github/workflows/sphinxbuild.yml Outdated
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
@skjnldsv skjnldsv disabled auto-merge July 2, 2026 13:12
@skjnldsv skjnldsv merged commit 981c443 into master Jul 2, 2026
16 checks passed
@skjnldsv skjnldsv deleted the feature/consolidate-deploy-single-pr branch July 2, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants