name: deploy description: Deploy workflow for Vercel and Supabase Edge Functions allowed-tools: Bash model: sonnet user-invocable: false
Deploy Workflow
Pre-deploy Checklist
npm run typecheck- passesnpm run build- passesnpm run test- passes (if available)- No
console.login production code - Environment variables set in hosting platform
Vercel
Preview:
npx vercel --yes
Production:
npx vercel --prod --yes
Supabase Edge Functions
Single function:
supabase functions deploy [name] --project-ref [ref]
All functions:
supabase functions deploy --project-ref [ref]
Post-deploy
- Verify production URL loads
- Test critical user flows
- Monitor error logs for 5 minutes