Skip to content

Commit

Permalink
fix: db migration ci config.toml loading
Browse files Browse the repository at this point in the history
  • Loading branch information
gregnr committed Aug 8, 2024
1 parent 5163374 commit 4b9211b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/run-migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@ jobs:
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_PROD_DB_PASSWORD }}
PROJECT_ID: ${{ vars.SUPABASE_PROD_PROJECT_ID }}

# Create placeholder vars so that supabase/config.toml can load
SUPABASE_AUTH_GITHUB_CLIENT_ID: ''
SUPABASE_AUTH_GITHUB_SECRET: ''
SUPABASE_AUTH_GITHUB_REDIRECT_URI: ''

steps:
- uses: actions/checkout@v4
- uses: supabase/setup-cli@v1
with:
version: latest
- run: supabase link --project-ref $PROJECT_ID
- run: supabase db push

0 comments on commit 4b9211b

Please sign in to comment.