Deployment Quick Reference
Essential commands and URLs for production deployment.🚀 Deployment Commands
Pre-Deployment
Deploy Convex
Deploy Frontend
Post-Deployment
🔧 Environment Variables
Set Convex Variables
List Convex Variables
Generate Secrets
🔄 Rollback Commands
Rollback Convex
Rollback Git
📊 Monitoring Commands
Check Logs
Test Endpoints
Check SSL
🔗 Important URLs
Production
- Application: https://dashtray.com
- Convex Dashboard: https://dashboard.convex.dev
- Cloudflare Dashboard: https://dash.cloudflare.com
- GitHub Actions: https://github.com/your-org/dashtray/actions
Development
- Staging: https://staging.dashtray.pages.dev
- Preview: https://dev.dashtray.pages.dev
External Services
- DodoPayments: https://dashboard.dodopayments.com
- Resend: https://resend.com/dashboard
📝 GitHub Secrets
Set in: Settings → Secrets and variables → ActionsRequired Secrets
CLOUDFLARE_API_TOKENCLOUDFLARE_ACCOUNT_IDBETTER_AUTH_SECRET
Required Variables
PUBLIC_CONVEX_URLPUBLIC_CONVEX_SITE_URLSITE_URLCLOUDFLARE_PROJECT_NAMEBETTER_AUTH_URL
🔍 Troubleshooting
Build Fails
Convex Deploy Fails
Environment Variables Not Loading
Webhooks Not Working
📞 Support
Emergency Contacts
- On-Call Engineer: [contact info]
- Convex Support: support@convex.dev
- Cloudflare Support: https://dash.cloudflare.com/support
- DodoPayments Support: support@dodopayments.com
Documentation
🎯 Success Criteria
Deployment is successful when:- ✅ All smoke tests pass
- ✅ Error rate < 1%
- ✅ Response time < 2s (p95)
- ✅ No critical bugs reported
- ✅ All integrations working
- ✅ Webhooks processing correctly
- ✅ Monitoring shows normal metrics
📅 Deployment Schedule
Recommended Windows:- Tuesday-Thursday, 10 AM - 2 PM (local time)
- Fridays, weekends, holidays, late nights
- Announce 24 hours in advance
- Duration: 1-2 hours
- Rollback plan ready
🔐 Security Checklist
Before deploying:- All secrets rotated (if needed)
- No hardcoded credentials
- Environment variables verified
- SSL certificate valid
- HSTS enabled
- Rate limiting active
- Webhook signatures verified
- API authentication required
📈 Post-Deployment
Within 24 hours:- Monitor error logs
- Check user feedback
- Verify all integrations
- Review performance metrics
- Update team on status
- Document any issues
- Plan next release