Fix supabase db push in CI by passing --project-ref directly

The supabase link command was running from repo root while db push
ran from apps/supabase, causing it to not find the linked project.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
jjbruntonandClaude Opus 4.5 committed 2026-01-24 21:36:33 +00:00
1 parent 4b6df665f3
commit b090400604
1 file changed
+1 -4
+1 -4
View File
@@ -26,11 +26,8 @@ jobs:
with: with:
version: latest version: latest
- name: Link to Production Project
run: supabase link --project-ref $SUPABASE_PROJECT_REF
- name: Apply Database Migrations - name: Apply Database Migrations
run: supabase db push run: supabase db push --project-ref $SUPABASE_PROJECT_REF
working-directory: apps/supabase working-directory: apps/supabase
- name: Sync Edge Function Secrets - name: Sync Edge Function Secrets