Skip to content

Pages 只在發布 Release/手動觸發時部署(修正同一 commit 重複部署不生效) - #6

Merged
lee98064 merged 1 commit into
mainfrom
fix/pages-single-deploy
Nov 12, 2026
Merged

lee98064 merged 1 commit into
mainfrom
fix/pages-single-deploy

Conversation

@lee98064

Copy link
Copy Markdown
Owner

Pages 以 commit SHA 識別部署:合併 PR 時 main 推送先部署一次(當時最新 Release 為 v0.3.0),在同一 commit 發布 v0.3.1 後的第二次部署被 Pages 忽略,線上索引停在 v0.3.0(部署後的 smoke test 正確偵測並失敗)。本 PR 拿掉 main 推送觸發,加上防回歸測試與說明;合併後以 workflow_dispatch 部署 v0.3.1。

🤖 Generated with Claude Code

Pages deduplicates deployments by commit SHA. The push-to-main deploy of
the v0.3.1 merge commit made the release-triggered deploy of the same
commit a no-op, leaving the v0.3.0 feed live (the smoke test caught it).
Drop the push trigger, guard it in tests, and explain the failure mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lee98064
lee98064 merged commit b20113c into main Nov 12, 2026
1 check passed
@lee98064
lee98064 deleted the fix/pages-single-deploy branch November 12, 2026 11:04
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