Skip to content

Commit

Permalink
hotfix:make-env-for-prod-config
Browse files Browse the repository at this point in the history
  • Loading branch information
im-Qarch committed Apr 1, 2024
1 parent d3d5e11 commit cbac9a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GIT_PERSONAL_ACCESS_TOKEN }}

- name: Load secrets and save to app.env
run: ${{ github.APP_ENV }} | jq -r > app.env

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
image: postgres:latest
# Provide the password for postgres
env:
POSTGRES_DB: bank_db
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: ${{ github.POSTGRES_DB }}
POSTGRES_USER: ${{ github.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ github.POSTGRES_PASSWORD }}
ports:
- 5432:5432
# Set health checks to wait until postgres has started
Expand Down

0 comments on commit cbac9a6

Please sign in to comment.