Skip to content

Commit

Permalink
fix: region 문자열로 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
yujamint committed Jun 1, 2024
1 parent 4f91d3f commit 321653d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ env:
AWS_ACCESS_KEY: ${{ secrets.STG_AWS_ACCESS_KEY }}
AWS_SECRET_KEY: ${{ secrets.STG_AWS_SECRET_KEY }}
AWS_S3_BUCKET_NAME: ${{ secrets.STG_AWS_S3_BUCKET_NAME }}
AWS_S3_REGION: ${{ secrets.STG_AWS_S3_REGION }}

jobs:
deploy:
Expand Down Expand Up @@ -43,11 +42,11 @@ jobs:
with:
aws-access-key-id: $AWS_ACCESS_KEY
aws-secret-access-key: $AWS_SECRET_KEY
aws-region: $AWS_S3_REGION
aws-region: ap-northeast-2

- name: S3에 zip 파일 업로드
run: aws s3 cp \
--region $AWS_S3_REGION \
--region ap-northeast-2 \
./qtudy.zip s3://$AWS_S3_BUCKET_NAME/qtudy.zip

- name: Code Deploy 통해 배포
Expand All @@ -57,7 +56,7 @@ jobs:
--deployment-config-name QtudyStageCodeDeploy \
--deployment-group-name QtudyStageCodeDeploy-DepGrp \
--s3-location bucket=$AWS_S3_BUCKET_NAME, bundleType=zip, key=qtudy.zip \
--region $AWS_S3_REGION
--region ap-northeast-2



Expand Down

0 comments on commit 321653d

Please sign in to comment.