Release (Supabase Github App)
We run our deployments following best practices from Supabase Managing Environments.

Then, we follow database branching to handle the deployments
Deployment Commands
Deploy Supabase functions
Each function declares its own dependencies in supabase/functions/<name>/deno.json, following the Supabase dependency guide, so no import map flag is needed. Run this from the project root after supabase link:
supabase functions deploy
To also tag Sentry errors with the deploy they came from, deploy with pnpm supabase:deploy-functions from nextjs/ instead. It sets the SENTRY_RELEASE secret to the current git commit, then runs supabase functions deploy (see Error Logging).
To deploy a single function, pass its name, for example supabase functions deploy stripe_webhook. Functions whose config.toml entry sets verify_jwt = false (the Stripe webhook and get_stripe_url) keep that setting on deploy.
Set supabase secrets from .env file
supabase secrets set --env-file .env