therealremingtonT
Convex Community11mo ago
5 replies
therealremington

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 ...
Was this page helpful?