Wire Supabase migrations into CI/CD #93

Merged
will.anderson merged 1 commits from fix/stage-ci-paths into dev 2026-05-11 18:22:04 +00:00
Owner

Adds Run database migrations step to stage.yaml and deploy.yaml. Migrations apply before every deploy via Supabase Management API, tracked in schema_migrations table.

Adds Run database migrations step to stage.yaml and deploy.yaml. Migrations apply before every deploy via Supabase Management API, tracked in schema_migrations table.
will.anderson added 1 commit 2026-05-11 18:21:55 +00:00
Wire Supabase migrations into CI/CD
Dev — Build & local smoke test / build-smoke (pull_request) Successful in 1m30s
4a915c1a11
Adds a "Run database migrations" step to both stage.yaml and deploy.yaml.
Uses the Supabase Management API (access token from GCP Secret Manager)
to apply pending migrations tracked in a schema_migrations table.
Migrations run unconditionally before every deploy — asset-only or full.

Also adds migrations/** to paths filter so a migrations-only commit
triggers the pipeline.
will.anderson merged commit 924c0804e7 into dev 2026-05-11 18:22:04 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/neuron-web#93