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 c0ec81d commit 8a0f34c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jobs:
container: tyknkd/spark:3.3.2-scala2.13-jdk17-gradle8.7-jammy
env:
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
PGPASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
NEWS_API_KEY: ${{ secrets.NEWS_API_KEY }}
POSTGRES_USER: newsanalyzer
POSTGRES_DB: collector_db
Expand All @@ -17,7 +18,6 @@ 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

0 comments on commit 8a0f34c

Please sign in to comment.