From 7acda80ded912377e326c65eb168fd5aad6b71de Mon Sep 17 00:00:00 2001 From: Jaydin_MacBook Date: Thu, 11 Jan 2024 19:16:53 -0500 Subject: [PATCH] Test ENV pass --- .github/workflows/docker-image.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 0cf3368..4005c5e 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -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: @@ -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 }}