therealremington
CCConvex Community
•Created by therealremington on 3/14/2025 in #support-community
Developing against a preview deployment
I set up the preview deploy key on vercel, and even tried from the command line, but the new preview branch is not being created, it just asks for prod and dev, so I answer no.
npx convex deploy --preview-create staging
CONVEX_DEPLOY_KEY=your_preview_deploy_key npx convex deploy --preview-create staging
terminal ###
You're currently developing against your dev deployment
changed-the-name (set in CONVEX_DEPLOYMENT)
Your prod deployment again-changed-name serves traffic at:
NEXT_PUBLIC_CONVEX_URL=https://again-changed-name.convex.cloud/
Do you want to push your code to your prod deployment now? I said no ...
6 replies