diff --git a/.github/workflows/cd-prod.yml b/.github/workflows/cd-prod.yml index 1a37efb3..3020691b 100644 --- a/.github/workflows/cd-prod.yml +++ b/.github/workflows/cd-prod.yml @@ -77,7 +77,7 @@ jobs: aws-region: ap-northeast-2 - name: Upload to S3 - run: aws s3 cp --region ap-northeast-2 ./gam-prod-server.zip s3://${{ secrets.AWS_S3_BUCKET_NAME }}/prod + run: aws s3 cp --region ap-northeast-2 ./gam-prod-server.zip s3://${{ secrets.AWS_S3_BUCKET_NAME }}/prod/ # Deploy - name: Deploy @@ -89,5 +89,5 @@ jobs: --application-name gam-codeDeploy --deployment-group-name prod --file-exists-behavior OVERWRITE - --s3-location bucket=$S3_BUCKET_NAME/prod,bundleType=zip,key=gam-prod-server.zip + --s3-location bucket=${{ secrets.AWS_S3_BUCKET_NAME }},bundleType=zip,key=gam-prod-server.zip --region ap-northeast-2