Skip to content

[chore] Trigger Pages deploy on release tag + manual only, not every push to main#344

Merged
lugassawan merged 1 commit into
mainfrom
chore/pages-deploy-on-release-tag
Jun 23, 2026
Merged

[chore] Trigger Pages deploy on release tag + manual only, not every push to main#344
lugassawan merged 1 commit into
mainfrom
chore/pages-deploy-on-release-tag

Conversation

@lugassawan

Copy link
Copy Markdown
Owner

Summary

  • Replace push: branches: [main] with push: tags: ["v*"] in .github/workflows/pages.yml
  • Docs site now deploys only on release tag pushes and manual workflow_dispatch, not on every commit to main
  • Mirrors the existing trigger convention in release.yml:4-5

Test Plan

  • actionlint .github/workflows/pages.yml — 0 issues introduced (pre-existing SC2015 shellcheck note at line 34 is unchanged)
  • pages.yml no longer triggers on push: branches: [main]
  • pages.yml triggers on push: tags: ["v*"]
  • workflow_dispatch still present as escape-hatch
  • Unit tests pass (make test) — N/A, no Go files changed
  • Linter passes (make lint) — N/A, no Go files changed
  • E2E tests pass (make test-e2e) — N/A, no Go files changed

Post-merge (owner action): Verify Settings → Environments → github-pages allows tag refs (deployment-branch policy must not be locked to main only). Validate via a test tag or manual workflow_dispatch that the site builds and deploys correctly.

Issue

Closes #343

@lugassawan lugassawan merged commit fc0d019 into main Jun 23, 2026
10 checks passed
@lugassawan lugassawan deleted the chore/pages-deploy-on-release-tag branch June 23, 2026 00:49
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.

[chore] Trigger Pages deploy on release tag + manual only, not every push to main

1 participant