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 d8576ce commit 30cb4a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
password: ${{ secrets.GIT_PERSONAL_ACCESS_TOKEN }}

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

- name: Extract metadata (tags, labels) for Docker
id: meta
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: ${{ secrets.POSTGRES_DB }}
POSTGRES_USER: ${{ secrets.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
POSTGRES_DB: ${{ vars.POSTGRES_DB }}
POSTGRES_USER: ${{ vars.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ vars.POSTGRES_PASSWORD }}
ports:
- 5432:5432
# Set health checks to wait until postgres has started
Expand Down

0 comments on commit 30cb4a8

Please sign in to comment.