Skip to content

Commit

Permalink
secrets for all flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng authored Oct 26, 2023
1 parent 1d339df commit dde30e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/restore-db
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- name: Restore database dump to Supabase
run: |
PGPASSWORD=${{ secrets.SUPABASE_DB_PASSWORD }} psql -h db.mtzoltkenufqksfcwqtn.supabase.co -p 5432 -d postgres -U postgres < schema.sql
PGPASSWORD=${{ secrets.SUPABASE_DB_PASSWORD }} psql -h db.mtzoltkenufqksfcwqtn.supabase.co -p 5432 -d postgres -U postgres < data.sql
PGPASSWORD=${{ secrets.SUPABASE_DB_PASSWORD }} psql -h ${{ secrets.SUPABASE_DB_URL }} -p ${{ secrets.SUPABASE_PORT }} -d ${{ secrets.SUPABASE_NAME }} -U ${{ secrets.SUPABASE_USER }} < schema.sql
PGPASSWORD=${{ secrets.SUPABASE_DB_PASSWORD }} psql -h ${{ secrets.SUPABASE_DB_URL }} -p ${{ secrets.SUPABASE_PORT }} -d ${{ secrets.SUPABASE_NAME }} -U ${{ secrets.SUPABASE_USER }} < data.sql
env:
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD }}

0 comments on commit dde30e6

Please sign in to comment.