Skip to content

ci: drop the docs PR build, leaving release + dispatch only - #250

Merged
Naruto merged 1 commit into
developfrom
ci/docs-deploy-release-only
Aug 1, 2026
Merged

ci: drop the docs PR build, leaving release + dispatch only#250
Naruto merged 1 commit into
developfrom
ci/docs-deploy-release-only

Conversation

@Naruto

@Naruto Naruto commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #249. Completes the trigger unification: every repository's docs site now publishes on exactly release: published + workflow_dispatch, and nothing else.

SSPlayerForUnity and SSPlayerForRenPy already had this shape; SSPlayerForFlutter, SSConverterGUI and SSPlayerForWeb get the same change in parallel PRs.

What changes

  • pull_request trigger removed from on:.
  • The conditionals it was guarding go with it — they are dead once the trigger is gone:
    • if: github.event_name != 'pull_request' on the Upload Pages artifact step
    • if: github.event_name != 'pull_request' on the deploy job
    • concurrency: docs-pages-${{ github.ref }} / cancel-in-progress: ${{ github.event_name == 'pull_request' }}group: pages / cancel-in-progress: false, matching the siblings

Net: 9 insertions, 15 deletions. No job-level if: remains.

Trade-off

pages.yml is the only workflow in this repository that builds the docs, so mkdocs build --strict no longer runs before merge. A broken internal link or a missing nav entry now surfaces on the release deploy rather than on the PR that introduced it. Run mkdocs build --strict locally before merging a docs change — the workflow comment now says so.

GitHub Pages is not yet enabled here, so nothing changes for readers today.

Every sibling repository now publishes its docs site on exactly two triggers:
`release: published` and `workflow_dispatch`. SSPlayerForUnity and
SSPlayerForRenPy already had that shape; this brings the rest in line so the
deploy semantics are identical across the ecosystem.

Removing the pull_request trigger also removes what it was guarding, so the
now-dead conditionals go with it: the `if: github.event_name != 'pull_request'`
on the artifact upload and on the deploy job, and the ref-scoped concurrency
group (`docs-pages-${{ github.ref }}` with PR-only cancellation) which reverts
to `group: pages` / `cancel-in-progress: false`.

Trade-off worth stating: pages.yml is the only workflow that builds the docs
here, so `mkdocs build --strict` no longer runs before merge — a broken
internal link or a missing nav entry now surfaces on the release deploy rather
than on the PR that introduced it. Run `mkdocs build --strict` locally before
merging a docs change.
@Naruto
Naruto merged commit 1272034 into develop Aug 1, 2026
0 of 2 checks passed
@Naruto
Naruto deleted the ci/docs-deploy-release-only branch August 1, 2026 11:51
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