Deploy pipeline (convex + frontend)
Ship convex/ first (or same CI step), then build frontend with correct VITE_CONVEX_URL.
Difficulty 2/5
Plain English
Your live app is two pieces: Convex functions and static UI on Cloudflare/Vercel. If you deploy UI pointing at dev Convex, prod looks broken.
Analogy
Connect the water line before opening the tap.
Jessica's wedding portal
deploy:prod — convex deploy + build + wrangler.
Agentify CRM
deploy:production — build with prod URL, wrangler deploy.
Go deeper
Backend deployment + frontend deployment.
Common mistakes
- Only git push without convex deploy.
- Wrong deployment slug.
AI-agent trap
Claiming deploy done without gh run watch / convex logs check.
Summary
Deploy keys in .env.local on VPS; slug guards in scripts.
Confidence: