niels
niels6mo ago

Preview Deployments + webhooks

Any advice for Preview Deployments in terms of Webhooks? Cause they're cleaned up after 14 days. For example; I'd like to have a Staging and a UAT preview deployment alongside Production and Development
4 Replies
sshader
sshader6mo ago
Yeah I don't think we have great advice for this at the moment. Clerk might have some suggestions on its end. Specifically for a staging environment, you could consider setting up a separate project to use as your staging deployment (https://docs.convex.dev/production#staging-environment). Some things we've considered with preview deployments is having an option to pin certain deployments so they don't get cleaned up periodically, and perhaps to give them meaningful URLs (like https://your_team-your_project-staging.convex.cloud) that would be stable across previews for the same branch.
Deploying Your App to Production | Convex Developer Hub
Convex is built to serve live, production app traffic. Here we cover how to
niels
nielsOP6mo ago
Is this option available as of now? Pinning deployments so they don't get cleaned up?
sshader
sshader6mo ago
Not available now, which is why I mentioned just using a separate project if you have a few environments you want to stick around permanently
CabalDAO
CabalDAO6mo ago
persistent urls would be really great

Did you find this page helpful?