fix(ci): scope Terraform deployments

Skip Terraform for function-only Supabase releases to avoid unrelated provider drift failures. Continue applying infrastructure for terraform path changes or explicit manual deployment requests.
This commit is contained in:
jjbrunton committed 2026-08-27 22:08:08 +01:00
1 parent 650c81856f
commit 04dee69888
2 files changed
+37 -3

No files matched your search

+5 -1
View File
@@ -19,4 +19,8 @@ All schema changes are versioned local files under `apps/supabase/migrations/`.
- Never insert migration history manually except an explicitly approved repair.
- Never hardcode a production URL in a migration or cron definition.
CI deploys committed migrations. Local verification must not link a remote project.
CI deploys committed migrations and Edge Functions to non-production after relevant
pushes. Production promotion is a manual workflow dispatch. Terraform is applied
only when files under `terraform/` change, or when `deploy_infrastructure` is
explicitly selected during a manual deployment. Local verification must not link a
remote project.