teqo-backup/docs/CUTOVER-MAIN-ONLY.md
Cursor Agent fdd318692c
fix(ci): clear domain gitBranch so CLI prod deploys can alias
Git-branch-bound domains only move via Git Integration. With Git
auto-deploy OFF, clear the binding, then promote + alias + verify.
2026-08-01 15:59:41 +00:00

1.5 KiB

Cutover checklist (main-only + gated deploy) — done

Completed 2026-08-01. Branch stage and GitHub Environment stage are deleted. Production deploys only from ci.yml after the full verifier is green.

  • Code PR opened (main-only cutover) — merged to main
  • pnpm configure:branch-protection applied on main (required: checks + migration-lock, strict=false, 0 reviews)
  • No open PRs targeting stage at cutover time
  • Repo secrets present (VERCEL_*, POOL_GITHUB_TOKEN)
  • VERCEL_ORG_ID / VERCEL_PROJECT_ID synced from local .vercel/project.json (vercel link)
  • ci.yml deploy job green (vercel@55, Node 24.x, alias https://pt.jorgesolla.com.br)
  • Git auto-deploy OFF (vercel.json git.deploymentEnabled: false + ignore script) — correct for Actions-gated deploys
  • Auto-assign Custom Production Domains ON (Project → Settings → Environments → Production → Branch Tracking). Turning this OFF stages CLI --prod deploys without moving pt.jorgesolla.com.br; CI re-enables it.
  • Domain Git Branch empty for pt.jorgesolla.com.br (Settings → Domains). A branch binding only moves with Git Integration; with Git OFF, CI clears it then promote + alias set. Emergency: Actions → "Vercel promote production".
  • Branch stage deleted
  • GitHub Environment stage (and STAGE_* secrets) deleted
  • Dead stage tooling removed (db:refresh:stage, agent:promote)

Operational reference: AGENT-OPS.md.