Fix db push by running supabase link from correct directory

supabase db push doesn't support --project-ref, it relies on link.
Run link from apps/supabase so the config is in the right place.

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