From 54270664d3cfa368fefc9379ac2c225ac57ee402 Mon Sep 17 00:00:00 2001 From: Park Sangwoo <49917043+SangWoo9734@users.noreply.github.com> Date: Sun, 25 Aug 2024 20:02:27 +0900 Subject: [PATCH] =?UTF-8?q?[SETTING]=20=20=ED=99=98=EA=B2=BD=EB=B3=80?= =?UTF-8?q?=EC=88=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit production 과 local 상 필요한 로직이 달라 그에 따른 환경 변수를 지정해주었습니다. --- .github/workflows/s3_build_and_deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/s3_build_and_deploy.yml b/.github/workflows/s3_build_and_deploy.yml index e877687..66eb1b2 100644 --- a/.github/workflows/s3_build_and_deploy.yml +++ b/.github/workflows/s3_build_and_deploy.yml @@ -38,6 +38,7 @@ jobs: echo "VITE_FIRE_BASE_MEASUREMENT_ID=$VITE_FIRE_BASE_MEASUREMENT_ID" >> .env echo "VITE_WEBSOCKET_URL=$VITE_WEBSOCKET_URL" >> .env echo "VITE_NODE_API_URL=$VITE_NODE_API_URL" >> .env + echo "VITE_MODE=$VITE_MODE" >> .env env: VITE_API_URL: ${{ secrets.VITE_API_URL }} VITE_FIRE_BASE_VAPID: ${{ secrets.VITE_FIRE_BASE_VAPID }} @@ -47,7 +48,7 @@ jobs: VITE_FIRE_BASE_APP_ID: ${{ secrets.VITE_FIRE_BASE_APP_ID }} VITE_FIRE_BASE_MEASUREMENT_ID: ${{ secrets.VITE_FIRE_BASE_MEASUREMENT_ID }} VITE_WEBSOCKET_URL: ${{ secrets.VITE_WEBSOCKET_URL }} - VITE_NODE_API_URL: ${{ secrets.VITE_NODE_API_URL }} + VITE_MODE: ${{ secrets.VITE_MODE }} - name: Build run: npm run build