Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update GithubRepositorySelection.tsx

Jonathan Summers-Muir51585fdb2c0d
diff --git a/studio/components/layouts/AppLayout/EnableBranchingButton/GithubRepositorySelection.tsx b/studio/components/layouts/AppLayout/EnableBranchingButton/GithubRepositorySelection.tsx
index bc6a642d56e..b5440fb5d35 100644
--- a/studio/components/layouts/AppLayout/EnableBranchingButton/GithubRepositorySelection.tsx
+++ b/studio/components/layouts/AppLayout/EnableBranchingButton/GithubRepositorySelection.tsx
@@ -55,6 +55,8 @@ const GithubRepositorySelection = ({
const githubIntegrationAppUrl =
process.env.NEXT_PUBLIC_ENVIRONMENT === 'prod'
? ' https://github.com/apps/supabase'
+ : process.env.NEXT_PUBLIC_ENVIRONMENT === 'preview'
+ ? 'https://github.com/apps/supabase-staging'
: 'https://github.com/apps/supabase-local-testing'
const {