MarcM
Convex Community15mo ago
5 replies
Marc

Monorepo vercel deploy

Is there a better approach to monorepo deploys on vercel than below. I feel like the CLI should just have a different command to grab the CONVEX_URL?

cd packages/backend && npx convex deploy --cmd 'echo NEXT_PUBLIC_CONVEX_URL=$CONVEX_URL > ../../.env' && cd ../.. && npm run build
Was this page helpful?