ci: deploy from Actions, so this site has one deploy path - #11
Merged
Merged
Conversation
Cloudflare's Git integration and hand-run `wrangler pages deploy` were both deploying this project. Two paths race for one commit: one wins, the other is reported failed, which is where the spurious Pages failure alerts came from. §4 allows exactly one. This is the surviving path. Without a CLOUDFLARE_API_TOKEN secret the deploy step skips green rather than failing, so this can land before the Git integration is switched off and can never race it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0119vXMJC7FKdDTYJkLVLusg
Deploying elsanjose-com with
|
| Latest commit: |
c14e574
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://960729db.elsanjose-com.pages.dev |
| Branch Preview URL: | https://ci-actions-deploy.elsanjose-com.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cloudflare's Git integration and hand-run
wrangler pages deploywere both deploying this project. Two paths race for one commit: one wins, the other is reported failed — the source of the spurious Pages failure alerts. §4 allows exactly one, and this is the surviving path.Deploys
.to the elsanjose-com Pages project, mirroring the build config Cloudflare was already using.Safe to land now: without a
CLOUDFLARE_API_TOKENsecret the deploy step skips green rather than failing — the same guard wizard-web uses — so this cannot race the still-enabled Git integration.Verified end to end first on grandfathershoney.com, where the equivalent workflow uploaded 64 files and completed a real preview deployment.
🤖 Generated with Claude Code
https://claude.ai/code/session_0119vXMJC7FKdDTYJkLVLusg