From e02d6be09be3aab088d48ecc302795671238f80a Mon Sep 17 00:00:00 2001 From: leestana01 Date: Sat, 16 Nov 2024 17:15:52 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=B0=B0=ED=8F=AC=EC=9A=A9=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 5 ++++- package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a5cc3fb..82d26c1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,6 +21,9 @@ jobs: - name: Install dependencies run: npm install + - name: Copy .env file + run: echo "${{ secrets.ENV_FILE }}" > .env + - name: Build the Vite app run: npm run build @@ -47,4 +50,4 @@ jobs: - name: Rollout restart the deployment run: | - kubectl rollout restart -n lgtu deployments/oeteco-front + kubectl rollout restart -n oeteco deployments/oeteco-front diff --git a/package.json b/package.json index 01d9c42..a9ad4ee 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ }, "scripts": { "start": "react-scripts start", - "build": "react-scripts build", + "build": "CI=false && react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" },