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 1ff415f commit d8576ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: ci-flow
name: cd-flow

on:
push:
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:
password: ${{ secrets.GIT_PERSONAL_ACCESS_TOKEN }}

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

- name: Extract metadata (tags, labels) for Docker
id: meta
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: cd-flow
name: ci-flow

on:
push:
Expand All @@ -20,9 +20,9 @@ jobs:
image: postgres:latest
# Provide the password for postgres
env:
POSTGRES_DB: ${{ env.POSTGRES_DB }}
POSTGRES_USER: ${{ env.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }}
POSTGRES_DB: ${{ secrets.POSTGRES_DB }}
POSTGRES_USER: ${{ secrets.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
ports:
- 5432:5432
# Set health checks to wait until postgres has started
Expand Down

0 comments on commit d8576ce

Please sign in to comment.