CONVEX_DEPLOY_KEY
hi ,
I am a one-man team, doing my first Convex / Vercel deployment .
I'm using a free plan , so I cannot use a preview deploy key like preview:xx-xxx
In Convex I created a Production Deploy key <-- like prod:XXX
In Vercel I created a environment variable Preview , branch main
CONVEX_DEPLOY_KEY = prod:XXX
I created a deployment using main branch (Preview ) and got this error : Detected a non-production build environment and "CONVEX_DEPLOY_KEY" for a production Convex deployment.
Is it possible to deploy to vercel with the free Convex plan ?
3 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
You can deploy to production on the free plan, but previews require a paid plan.
Thanks erquhard - I am getting past the error!