Skip to content

Commit

Permalink
Test ENV pass
Browse files Browse the repository at this point in the history
  • Loading branch information
TheManWhoLikesToCode committed Jan 12, 2024
1 parent 27372a4 commit 7acda80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
CLIENT_CREDENTIALS_JSON=${{ secrets.CLIENT_CREDENTIALS_JSON }}
GOOGLE_CLIENT_SECRET=${{ secrets.GOOGLE_CLIENT_SECRET }}
GOOGLE_CLIENT_ID=${{ secrets.GOOGLE_CLIENT_ID }}
ENVIRONTMENT=${{ github.event_name == 'pull_request' && 'development' || 'production' }}
PORT=${{ github.event_name != 'pull_request' && env.PROD_BACKEND_PORT || env.DEV_BACKEND_PORT }}
frontend-build:
Expand Down Expand Up @@ -70,4 +71,5 @@ jobs:
tags: |
themanwholikestocode/archive-me-prod:frontend-${{ github.event_name == 'pull_request' && 'development' || 'production' }}
build-args: |
ENVIRONTMENT=${{ github.event_name == 'pull_request' && 'development' || 'production' }}
PORT=${{ github.event_name != 'pull_request' && env.PROD_FRONTEND_PORT || env.DEV_FRONTEND_PORT }}

0 comments on commit 7acda80

Please sign in to comment.