Skip to content

Commit 4b9211b

Browse files
committed
fix: db migration ci config.toml loading
1 parent 5163374 commit 4b9211b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/run-migrations.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,15 @@ jobs:
1414
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_PROD_DB_PASSWORD }}
1515
PROJECT_ID: ${{ vars.SUPABASE_PROD_PROJECT_ID }}
1616

17+
# Create placeholder vars so that supabase/config.toml can load
18+
SUPABASE_AUTH_GITHUB_CLIENT_ID: ''
19+
SUPABASE_AUTH_GITHUB_SECRET: ''
20+
SUPABASE_AUTH_GITHUB_REDIRECT_URI: ''
21+
1722
steps:
1823
- uses: actions/checkout@v4
1924
- uses: supabase/setup-cli@v1
25+
with:
26+
version: latest
2027
- run: supabase link --project-ref $PROJECT_ID
2128
- run: supabase db push

0 commit comments

Comments
 (0)