Skip to content

Commit

Permalink
Patch up env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
john-craft committed Oct 24, 2023
1 parent 6e6b4af commit cd3414f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test-migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
GCP_PROEJCT_ID: "database-migration-anonymized"
DB_HOST: "users-db"
POSTGRES_PASSWORD: ${DB_PASSWORD:-dMVZFeBWLOzYRV71}
DB_USERNAME: "postgres"
POSTGRES_DB: "postgres"

steps:
Expand Down Expand Up @@ -57,7 +58,8 @@ jobs:
- name: Run Sequelize migrations
env:
DATABASE_URL: postgres://$DB_USERNAME:$POSTGRES_PASSWORD@$DB_HOST:5432/$POSTGRES_DB
DB_PASSWORD: $POSTGRES_PASSWORD
DB_NAME: "postgres"
run: |
cd ./users-api/src
npx sequelize-cli db:migrate
Expand Down

0 comments on commit cd3414f

Please sign in to comment.