mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
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:
1 parent
4b6df665f3
commit
b090400604
1 file changed
+1
-4
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user