Hey! I’m working on migrating to using Neon for our already launched Vercel project. I’m very excited that the Vercel Integration is GA and I’m eager to start using it once the transition PRs go to production. One thing I’m hung up on:
Can I use a branch for cloning for previews that is not the primary branch?
I want to keep the production branch set to primary, but use a different branch, say, preview-template, when generating preview branches.
The reason for this is that our ISG pages are many — more than 10k pages, thoughour DB is only 40mb — and pre generating all those pages is time and resources consuming. I would rather only pull the full production db into staging, and previews on demand when necessary, but begin from a smaller sandbox template for previews.
Let me know if my idea of using a different template branch is possible, or if there’s another approach I’m not considering.
Thanks!