Repository navigation
Commit 840e11a
Send the production deploy back through push
Production has a full pipeline in deploy-production.yml and a local shortcut
that bypasses it. Today both ran against the same commit, which made the gap
easy to read side by side: the workflow version carries `main-90f59f6b9c2c`,
the local one carries no tag at all and shows up as "Unknown (deployment)".
The tag is the smallest of the differences. The local path also skips the
four verification jobs agreeing on a scope before deploy is allowed to run,
the SHA256 manifest of the artifact, the commit-identity check at deploy
time, `d1 migrations apply`, binding the secrets to the version, and the
post-deploy health, header and live-contract checks.
`npm run production:deploy` now prints that list and exits 1. It is a sign,
not a lock — the production API token lives on this machine, so anyone typing
`wrangler deploy` by hand can still reach Cloudflare. Making it a real lock
means moving the token into Actions only, which is Samet's call.
Staging is unchanged and stays local: it has no workflow.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 90f59f6 commit 840e11a
2 files changed
Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
0 commit comments