mirror of https://github.com/buster-so/buster.git
setup.sql in the env setup
This commit is contained in:
parent
3f60d13a18
commit
e322b6cff9
|
@ -51,6 +51,14 @@ runs:
|
|||
env:
|
||||
DATABASE_URL: postgres://postgres:postgres@127.0.0.1:54322/postgres
|
||||
|
||||
- name: Seed Database
|
||||
shell: bash
|
||||
run: |
|
||||
# Use hardcoded default credentials for local Supabase
|
||||
PGPASSWORD=postgres psql -h 127.0.0.1 -p 54322 -U postgres -d postgres -f ./api/libs/database/setup.sql
|
||||
env:
|
||||
DATABASE_URL: postgres://postgres:postgres@127.0.0.1:54322/postgres # Also set here just in case seed script needs it
|
||||
|
||||
- name: Seed Database
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue