Skip to content

Commit

Permalink
ci: attempt to fix migrations and seeding (number 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
khaykingleb committed Dec 25, 2024
1 parent 9742a8b commit 7051461
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,21 @@ jobs:
runs-on: ubuntu-latest
env:
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD }}
PROJECT_ID: ${{ secrets.PROJECT_ID }}
steps:
- name: Checkout code so that it is available to use in the executing runner
uses: actions/[email protected]
with:
fetch-depth: 0

- uses: supabase/setup-cli@v1
- name: Setup Supabase CLI
uses: supabase/setup-cli@v1
with:
version: latest

- name: Run Migrations
run: supabase db push --project-ref ${{ env.PROJECT_ID }}
- name: Link Supabase to Project
run: supabase link --project-ref $PROJECT_ID

- name: Seed Database
run: supabase db seed --project-ref ${{ env.PROJECT_ID }}
- name: Run Migrations and Seeds
run: supabase db push

0 comments on commit 7051461

Please sign in to comment.