From f9946c4819f22fbaf810b83099307ac87d28df99 Mon Sep 17 00:00:00 2001 From: rbgksqkr Date: Wed, 10 Apr 2024 14:30:51 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8?= =?UTF-8?q?=20=EC=88=9C=EC=84=9C=20=EB=B3=80=EA=B2=BD=20(#118)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/front-deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/front-deploy.yml b/.github/workflows/front-deploy.yml index bdcc7f4c..d79daf87 100644 --- a/.github/workflows/front-deploy.yml +++ b/.github/workflows/front-deploy.yml @@ -43,6 +43,11 @@ jobs: VITE_DEV_SERVER_URL: ${{ secrets.VITE_DEV_SERVER_URL }} VITE_PROD_SERVER_URL: ${{ secrets.VITE_PROD_SERVER_URL }} + # react 빌드 + - name: deploy + run: | + npm run deploy:prod + # react 빌드한 /dist를 s3로 업로드 - name: Upload /dist to S3 env: @@ -58,8 +63,3 @@ jobs: run: | aws cloudfront create-invalidation \ --distribution-id $CLOUD_FRONT_ID --paths "/*" - - # 배포 - - name: deploy - run: | - npm run deploy:prod