Trouble Creating Preview Deployment
I am not using Vercel or Netflify. Just Convex Cloud for the backend, and the React/Vite frontend is hosted on Cloudflare Pages.
I did the following:
1. Created a Preview Deploy key under Project Settings in the dashboard.
2. Set this an env var
$CONVEX_DEPLOY_KEY that starts with “preview:” in my terminal. 3. Created a Preview Deployment called
staging by running npx convex deploy --preview-create staging --yes (successful)4. Added the appropriate environment variables to the above deployment including CONVEX_DEPLOY_KEY
However, when I run
npx convex deploy, I get the error:npx convex deploy to a preview deployment could not determine the preview name. Provide one using --preview-createIt looks similar to this issue: using Preview deployments with cloudflare, requested to create a name for preview
