© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•7mo ago•
2 replies
José Ibáñez (Podunk)

Branch referece in client for each environment

We are trying to adopt the 'branching approach'.

Till now we have different projects representing different environments (dev, stg, prod). In our client we have different env variables to target those projects depending on the git branch we trying to build.

So far so good.

Now, If we want to keep everything in one project but target different branches depending on the environment.... how do I have to initialize the SDK in my clients? We mainly use Flutter.

This is very confusing and I dont know how to adapt our CI-CD workflow to the new branching approach.
Captura_de_pantalla_2025-07-28_a_las_13.21.58.png
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

Limit select for each entry in "in"
SupabaseSSupabase / help-and-questions
3y ago
Creating clients for each component
SupabaseSSupabase / help-and-questions
2w ago
Support for Supabase Queue in Local Development Environment
SupabaseSSupabase / help-and-questions
14mo ago
Branch preview branch max storage issue
SupabaseSSupabase / help-and-questions
5mo ago