From 6518ade7f46ef6d647a788e74c5236f07325d842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=ED=83=9C=EC=9C=A4?= Date: Tue, 8 Oct 2024 18:05:12 +0900 Subject: [PATCH] Update deploy-frontend.yml --- .github/workflows/deploy-frontend.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy-frontend.yml b/.github/workflows/deploy-frontend.yml index 9f5f118..d7d84f0 100644 --- a/.github/workflows/deploy-frontend.yml +++ b/.github/workflows/deploy-frontend.yml @@ -20,6 +20,7 @@ jobs: AWS_EC2_DNS: ${{ secrets.AWS_EC2_DNS }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + PROPERTIES_JSON: ${{ secrets.PROPERTIES_JSON }} NODE_ENV: production steps: @@ -51,6 +52,11 @@ jobs: - name: Install dependencies run: npm install --include=dev + # properties.json 파일 생성 + - name: Create properties.json + run: | + echo -e "${{ env.PROPERTIES_JSON }}" > ./src/configs/properties.json + # React 앱 빌드 - name: Build the React app run: npm run build