Skip to content

ci: fix docs publishing by removing tag indirection#207

Merged
gtrivedi88 merged 1 commit into
redhat-appstudio:mainfrom
gtrivedi88:ci/fix-docs-publishing-main
May 13, 2026
Merged

ci: fix docs publishing by removing tag indirection#207
gtrivedi88 merged 1 commit into
redhat-appstudio:mainfrom
gtrivedi88:ci/fix-docs-publishing-main

Conversation

@gtrivedi88

Copy link
Copy Markdown
Contributor

Summary

Cherry-pick of the publishing fix from #206 (targeting release-0.1) to main, so both branches stay in sync.

  • Root cause: GitHub Actions does not trigger workflows from tag pushes made with GITHUB_TOKEN (by design, to prevent recursive loops). The tag job successfully created the tag, but the tag push never triggered the build and deploy jobs.
  • Fix: Remove the tag indirection. Run checkbuilddeploy as sequential jobs in a single workflow invocation, gated on the check job's output.

See #206 for full details.

Test plan

  • PR validation (validate job) still runs on PRs to main

🤖 Generated with Claude Code

The previous workflow used a two-step process: the tag job force-tagged
the commit as `docs`, expecting the tag push to trigger build and deploy
jobs. This never worked because GitHub Actions does not trigger workflows
from tag pushes made with GITHUB_TOKEN (by design, to prevent loops).

Fix: run check, build, and deploy as sequential jobs in a single
workflow invocation. The check job determines if the pushed branch is
the latest release branch, and build/deploy gate on its output.

Also update docs/README.md to reflect the new workflow design.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gtrivedi88 gtrivedi88 requested a review from Roming22 May 13, 2026 13:11
@gtrivedi88 gtrivedi88 merged commit 787869b into redhat-appstudio:main May 13, 2026
4 of 7 checks passed
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