From cd51ddda175dc089e603903949da4c64abf0a74d Mon Sep 17 00:00:00 2001 From: sookyung kang Date: Tue, 16 Apr 2024 03:17:11 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F:=20fix=20actions=20s3=20?= =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=88=98=EC=A0=95=20=EB=B0=98=EC=98=81=20?= =?UTF-8?q?#42?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/api-deploy-dev.yml | 4 ++-- .github/workflows/api-deploy-prod.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/api-deploy-dev.yml b/.github/workflows/api-deploy-dev.yml index 125cb9d..33d73ea 100644 --- a/.github/workflows/api-deploy-dev.yml +++ b/.github/workflows/api-deploy-dev.yml @@ -59,11 +59,11 @@ jobs: aws-region: ap-northeast-2 - name: Upload to S3 - run: aws s3 cp --region ap-northeast-2 ./api-code-deploy.zip s3://$AWS_S3_BUCKET/api-code-deploy2.zip + run: aws s3 cp --region ap-northeast-2 ./api-code-deploy2.zip s3://$AWS_S3_BUCKET/api-code-deploy2.zip - name: Code Deploy run: aws deploy create-deployment --application-name plu-application --deployment-config-name CodeDeployDefault.OneAtATime --deployment-group-name API - --s3-location bucket=$AWS_S3_BUCKET,bundleType=zip,key=api-code-deploy.zip + --s3-location bucket=$AWS_S3_BUCKET,bundleType=zip,key=api-code-deploy2.zip diff --git a/.github/workflows/api-deploy-prod.yml b/.github/workflows/api-deploy-prod.yml index 5978fa6..4f79970 100644 --- a/.github/workflows/api-deploy-prod.yml +++ b/.github/workflows/api-deploy-prod.yml @@ -59,11 +59,11 @@ jobs: aws-region: ap-northeast-2 - name: Upload to S3 - run: aws s3 cp --region ap-northeast-2 ./api-code-deploy2.zip s3://$AWS_S3_BUCKET/api-code-deploy.zip + run: aws s3 cp --region ap-northeast-2 ./api-code-deploy2.zip s3://$AWS_S3_BUCKET/api-code-deploy2.zip - name: Code Deploy run: aws deploy create-deployment --application-name plu-application --deployment-config-name CodeDeployDefault.OneAtATime --deployment-group-name API - --s3-location bucket=$AWS_S3_BUCKET,bundleType=zip,key=api-code-deploy.zip + --s3-location bucket=$AWS_S3_BUCKET,bundleType=zip,key=api-code-deploy2.zip