Deploy to Preview
Deploy branch $ARGUMENTS to preview environment.
Pre-Deployment Checklist
Before deploying:
- •
Run build locally:
bashnpm run build
- •
Check for errors:
- •TypeScript errors
- •ESLint warnings
- •Build warnings
- •
Verify env vars (.env.example up to date)
- •
Test critical paths:
- •Authentication works
- •File uploads work
- •Quoting flow works
Deployment Steps
bash
# Ensure on correct branch
git checkout ${ARGUMENTS:-$(git branch --show-current)}
# Verify clean state
git status
# Push to remote
git push origin HEAD
# Vercel will auto-deploy preview from push
echo "Preview deployment triggered"
echo "Check: https://vercel.com/[your-project]/deployments"
Post-Deployment
- •Wait for Vercel build to complete
- •Visit preview URL
- •Test authentication
- •Test file upload
- •Test quoting flow
- •Report preview URL to user
DO NOT deploy to production without user approval.