© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•13mo ago•
6 replies
Kevin Wolf

How to create Supabase branch on GitHub branch push rather than on Pull Request?

Hello, I have a project that is hosted on Vercel and using Supabase for all the data stuff. The project is already set up with a GitHub connection and a Vercel integration. However, when pushing a branch, it is not creating the Supabase environment, therefore the Vercel preview deployment doesn't have the required environment variables from Supabase, yielding a deployment error.

What I've been doing is, first push the branch, wait for the Vercel deployment (which will fail because of the missing environment variables), go to Supabase and manually create the preview branch, and then re-deploy on Vercel.

Is there a way to configure the Supabase integration so it creates the branch as soon as it is pushed?
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

supabase cli error on pull or push db
SupabaseSSupabase / help-and-questions
5mo ago
how to connect one github repo to different supabase branch projects
SupabaseSSupabase / help-and-questions
5mo ago
How to create a db branch in a Github Action?
SupabaseSSupabase / help-and-questions
4mo ago
Tests failing on github after submitting a pull request
SupabaseSSupabase / help-and-questions
4y ago