teqo-backup/docs/CUTOVER-MAIN-ONLY.md
Cursor Agent baa8f14f82
fix(ci): promote Vercel deploy to pt.jorgesolla.com.br
Disabling Git auto-deploy is correct for Actions-gated production. The
separate project toggle "Auto-assign Custom Production Domains" must stay
ON — when OFF, `vercel deploy --prod` only aliases *.vercel.app and leaves
the custom domain on an older Current (exactly what we saw after #122).

After each deploy, ensure-production-alias re-enables auto-assign if needed,
promotes the deployment, and verifies pt.jorgesolla.com.br is attached.
Also adds workflow_dispatch "Vercel promote production" for promote-without-rebuild.
2026-08-01 15:26:31 +00:00

1.4 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 now re-enables + promotes via scripts/vercel-ensure-production-alias.mjs. 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.