Tony @ Fantastic Realms
Tony @ Fantastic Realms
CCConvex Community
Created by Tony @ Fantastic Realms on 6/4/2025 in #support-community
Create preview deployment without a hosting provider
Our team would like to be able to generate preview deployments. We don't need a hosting provider for our app, so we're not using Vercel or Netlify. We want to be able to generate our own preview deployments, but the docs aren't clear on how to do this and AI doesn't help either. I realize preview deployments is in beta, but we don't need a lot of handholding, we just need a bit more info. We have already tried setting CONVEX_DEPLOY_KEY and running npx convex deploy --preview-create {branch-name}. We get a prompt asking if we want to "push your code to your prod deployment", which is not what we want. We tried configuring an .env.preview and the running npx deploy with the --env-file option, but we don't seem to be getting the configuration quite right. It would be awesome if the docs included configuring a GitHub action for preview deployments. 🔥 Any guidance is appreciated, thanks!
8 replies