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