Gitpulse
LatestReleasesStand-up
Merged
Size
L
Large: 500-1000 weighted lines
Change Breakdown
Feature60%
Docs30%
Bug Fix10%
#3152feat(buildExtensions): syncSupabaseEnvVars build extension

Supabase database branching credentials can now be synced at build time

Supabase database branching credentials can now be synced at build time
0S
0ski
·Mar 5, 2026·#3152feat(buildExtensions): syncSupabaseEnvVars build extension

Developers using Supabase branching can automatically inject the correct database URLs and API keys for preview environments during the build step. Vercel staging synchronization also received stricter mapping requirements.

Preview and staging deployments can now be routed automatically to the correct Supabase database branch. Instead of manually mapping dynamic environment variables inside the Vercel dashboard, branch-specific connection strings and API keys are fetched and injected directly during the build process.

A new evaluates the active Git branch to pull matching PostgreSQL configurations and secrets. Production builds default to the main branch credentials, while local development environments are explicitly skipped. Alongside this update, configuration errors are prevented by for Vercel staging deployments until a custom environment is specifically mapped to the project.

To use this feature, the extension is passed into the project configuration file alongside the required authentication tokens. Here is how it is configured:

typescript
1import { defineConfig } from "@trigger.dev/sdk";
2import { syncSupabaseEnvVars } from "@trigger.dev/build/extensions/core";
3
4export default defineConfig({
5 build: {
6 extensions: [syncSupabaseEnvVars()],
7 },
8});
View Original GitHub DescriptionFact Check
  • docs
© 2026 · via Gitpulse