Deploy to Production
⚠️ PRODUCTION DEPLOYMENT - Requires explicit user approval
Pre-Flight Checks
- •
Verify main branch:
bashgit checkout main git pull origin main
- •
Run full build:
bashnpm run build
- •
Verify tests (if configured):
bashnpm test
- •
Check production env vars are set in Vercel dashboard
- •
Review recent commits:
bashgit log --oneline -10
User Approval Required
Use AskUserQuestion to confirm:
- •Have you reviewed all changes since last production deploy?
- •Are all environment variables configured?
- •Have you tested on preview/staging?
- •Ready to deploy to production?
Deployment
Only after approval:
bash
# Deploy to production (Vercel auto-deploys from main) git push origin main # Or manual trigger npx vercel --prod
Post-Deployment Monitoring
- •Verify deployment success in Vercel
- •Check production URL loads
- •Test authentication
- •Monitor error tracking (if configured)
- •Watch for user reports
Rollback (if needed)
bash
# Revert to previous deployment in Vercel dashboard # Or revert commits git revert HEAD git push origin main
⚠️ NEVER force push to main ⚠️