Skip to content

Commit

Permalink
set password for connecting to postgres and list db at start to confirm
Browse files Browse the repository at this point in the history
availability
  • Loading branch information
ChenglimEar committed Nov 1, 2023
1 parent cde75ab commit fc2fe1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,19 @@ jobs:
PGHOST: postgres
PGDATABASE: disclosure-backend
PGUSER: app_user
PGPASSWORD: app_password
services:
postgres:
image: postgres:latest
env:
POSTGRES_USER: app_user
POSTGRES_DB: "disclosure-backend"
POSTGRES_DB: disclosure-backend
POSTGRES_PASSWORD: app_password
steps:
- uses: actions/checkout@v3
- name: Create csv files
run: |
psql -l
make download
make import
python download/main.py
Expand Down

0 comments on commit fc2fe1e

Please sign in to comment.