Skip to content

Commit

Permalink
fix: deploy action 6
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien MAIRE authored and Julien MAIRE committed Jan 31, 2025
1 parent d521bef commit eeb6d58
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,12 @@ jobs:
- name: Install dependencies
run: npm install

- name: Link Supabase
- name: Link Supabase && init db && populate
env:
SUPABASE_PROJECT_REF: ${{ env.SUPABASE_PROJECT_REF }}
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
run: |
npx supabase link --project-ref dtdsoudleeheckhqyqsk
#Deploy supabase
- name: Run Docker Compose
run: |
npm run supabase:remote:init
#Populate db
- name: Populate DB
env:
SUPABASE_DB_URL: ${{ secrets.SUPABASE_DB_URL }}
run: |
npx supabase link --project-ref dtdsoudleeheckhqyqsk
npm run supabase:remote:init
npx tsx tools/populateDbWithFakeData.ts

0 comments on commit eeb6d58

Please sign in to comment.