Skip to content

Commit

Permalink
ci: set pgpassword for all steps
Browse files Browse the repository at this point in the history
  • Loading branch information
tyknkd committed May 13, 2024
1 parent a960b4f commit c0ec81d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
image: postgres:16.2
env:
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
PGPASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
POSTGRES_USER: ${{ env.POSTGRES_USER }}
POSTGRES_DB: ${{ env.POSTGRES_DB }}
options: >-
Expand Down Expand Up @@ -47,8 +48,6 @@ jobs:

- name: Initialize databases
shell: bash
env:
PGPASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
run: |
source .env
chmod +x ./docker-databases/docker-entrypoint-initdb.d/init-additional-db.sh
Expand Down

0 comments on commit c0ec81d

Please sign in to comment.