Skip to content

Commit

Permalink
Merge pull request #43 from Team-Plu/fix/#42
Browse files Browse the repository at this point in the history
[FIX} actions s3 파일 μˆ˜μ • 반영 #42
  • Loading branch information
sookyungg authored Apr 15, 2024
2 parents 64d5c11 + cd51ddd commit e61df47
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 e61df47

Please sign in to comment.