© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•2mo ago•
4 replies
javi

Vercel + Supabase + Next. How to set up custom branching.

🌲branching
Hi all — quick question about Vercel + Supabase branching.

Current setup:

Next.js on Vercel with the Supabase integration

main → Vercel production → Supabase main

GitHub PRs create Vercel preview deployments + Supabase preview branches (works fine)


What I want:

feature → staging → main


staging should be persistently deployed

Vercel “staging” env linked to a persistent Supabase staging branch

Feature PRs merge into staging

Later PR from staging → main for release



Problem:

The Vercel–Supabase integration auto-manages env vars

I can’t manually link a persistent Supabase branch to a non-prod Vercel environment

Integration seems to assume only main (prod) + ephemeral PR previews

Question:
Is this workflow supported with the current integration?
If not, what’s the recommended approach?


Thanks!
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Vercel integration and Supabase branching
SupabaseSSupabase / help-and-questions
2mo ago
Supabase Branching
SupabaseSSupabase / help-and-questions
4mo ago
supabase branching
SupabaseSSupabase / help-and-questions
4mo ago
Supabase Branching
SupabaseSSupabase / help-and-questions
13mo ago