SorinS
Convex Community6mo ago
15 replies
Sorin

Vercel deploy breaks for preview

This week, vercel Preview deployments that were using prod DEPLOY_KEY started to break with:

Detected a non-production build environment and "CONVEX_DEPLOY_KEY" for a production Convex deployment
          This is probably unintentional.

I don't know how to get around this as vercel is doing a preview build that is promoted to production after it's done.

I understand the requirement for pro account with preview builds... but we should be able to choose to use same be for both. or at least mentain the existing featureset.

I saw no announcement in this regard...

Maybe this is connected...

on project: https://dashboard.convex.dev/t/sorin-2a17b/test-automuse-repo/notable-crow-732
I created a DEPLOYMENT_KEY, added it to vercel, but the convex deploy returns:
Running "npx convex deploy --cmd 'npm run build'"
sh: line 1: /vercel/path0/node_modules/.bin/convex: Permission denied


was there any recent change that could causet this on convex side?
Manage your Convex apps
Was this page helpful?