Skip to content

Commit

Permalink
fix: upload 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
gyeongza committed May 26, 2024
1 parent f860781 commit adb960f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: yarn build

- name: zip create
run: zip -qq -r ./itracker-build.zip .
run: zip -qq -r ./itracker-front.zip .
shell: bash

- name: Configure AWS credentials
Expand All @@ -54,12 +54,12 @@ jobs:
aws-region: ap-northeast-2

- name: Upload to S3
run: aws s3 cp --region ap-northeast-2 ./itracker-build.zip s3://$S3_BUCKET_NAME/itracker-build.zip
run: aws s3 cp ./itracker-front.zip s3://$S3_BUCKET_NAME/itracker-front.zip --region ap-northeast-2

- name: Deploy For Development
run: |
aws deploy create-deployment \
--deployment-config-name CodeDeployDefault.AllAtOnce \
--application-name ${{ env.CODE_DEPLOY_APPLICATION_NAME }} \
--deployment-group-name ${{ env.CODE_DEPLOY_DEPLOYMENT_GROUP_NAME }} \
--s3-location bucket=$S3_BUCKET_NAME,key=itracker-build.zip,bundleType=zip
--s3-location bucket=$S3_BUCKET_NAME,bundleType=zip

0 comments on commit adb960f

Please sign in to comment.