Skip to content

ci(docs): deploy on push to develop instead of a GitHub Release - #977

Merged
michalharakal merged 1 commit into
developfrom
fix/docs-deploy-trigger-975
Aug 13, 2026
Merged

michalharakal merged 1 commit into
developfrom
fix/docs-deploy-trigger-975

Conversation

@michalharakal

Copy link
Copy Markdown
Contributor

Summary

Fixes #975. deploy-docs was gated on github.event_name == 'release', matching
the docs' stated intent that the canonical site tracks the latest release. But this
repo's release process only ever pushes a git tag (0.40.1, 0.39.1, ...) — no
GitHub Release object is ever created (gh release list returns empty). Confirmed
via Actions history: every historical docs.yml run was a push or pull_request
event; release has never fired once. The live site
(https://skainet-developers.github.io/SKaiNET/skainet/) has been frozen since
whatever deployed it outside this workflow — missing content that's been on
develop for a while, e.g. SKEEP-002/SKEEP-003 (present in nav.adoc/index.adoc,
reachable from tag 0.40.1, invisible on the live site).

Fix

Deploy on every push to develop instead — matches how
SKaiNET-transformers' docs.yml already does it (if: github.ref == 'refs/heads/develop' && github.event_name == 'push'), a pattern that's actually
proven to fire in that repo's Actions history. The existing paths: filter on the
push trigger already scopes rebuilds to docs-relevant changes
(docs/**, the workflow file, build.gradle.kts, build-logic/**,
skainet-lang/skainet-lang-core/**), so this doesn't change when the site
rebuilds for validation — only makes successful builds on develop actually
publish.

Dropped the now-dead release: types: [published] trigger entirely rather than
leaving it wired to nothing, to avoid the same "looks like it does something, does
nothing" confusion that caused this bug in the first place.

Not in scope

Verification

  • python3 -c "import yaml; yaml.safe_load(open('.github/workflows/docs.yml'))" — valid YAML
  • No other logic changed — build-docs job, Antora build steps, and Dokka bundling untouched

🤖 Generated with Claude Code

deploy-docs was gated on `github.event_name == 'release'`, matching
the stated intent that the canonical site tracks the latest release.
But this repo's release process only ever pushes a git tag — no
GitHub Release object is ever created (`gh release list` is empty)
— so that trigger has never fired once. Confirmed via Actions
history: every past docs.yml run was a push or pull_request event,
never release. The live site has been frozen since whatever deployed
it outside this workflow, missing content that landed on develop
long ago (e.g. SKEEP-002/003, reachable from tag 0.40.1).

Deploy on every push to develop instead, matching how
SKaiNET-transformers' docs.yml already does it. The existing
`paths:` filter on the push trigger already scopes this to
docs-relevant changes.

Fixes #975

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@michalharakal
michalharakal requested a review from aharakal August 13, 2026 10:23
@michalharakal
michalharakal merged commit f2d2a98 into develop Aug 13, 2026
13 checks passed
@michalharakal
michalharakal deleted the fix/docs-deploy-trigger-975 branch August 13, 2026 11:43
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.

Docs site never deploys — deploy-docs is gated on a GitHub Release that this repo never creates

2 participants