Skip to content

Commit

Permalink
⚡️: fix actions s3 파일 수정 반영 #42
Browse files Browse the repository at this point in the history
  • Loading branch information
sookyungg committed Apr 15, 2024
1 parent 64d5c11 commit cd51ddd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/api-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/api-deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cd51ddd

Please sign in to comment.