Skip to content

Commit

Permalink
⚡️: fix actions s3 파일 수정본으로 수정 #40
Browse files Browse the repository at this point in the history
  • Loading branch information
sookyungg committed Apr 15, 2024
1 parent 36c43fb commit 30fb306
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 @@ -48,7 +48,7 @@ jobs:
shell: bash

- name: Make zip file
run: zip -r ./api-code-deploy.zip ./plu-api/build/libs/*.jar ./scripts/plu-api/* -j
run: zip -r ./api-code-deploy2.zip ./plu-api/build/libs/*.jar ./scripts/plu-api/* -j
shell: bash

- name: Configure AWS credentials
Expand All @@ -59,7 +59,7 @@ 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-deploy.zip
run: aws s3 cp --region ap-northeast-2 ./api-code-deploy.zip s3://$AWS_S3_BUCKET/api-code-deploy2.zip

- name: Code Deploy
run: aws deploy create-deployment
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/api-deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
shell: bash

- name: Make zip file
run: zip -r ./api-code-deploy.zip ./plu-api/build/libs/*.jar ./scripts/plu-api/* -j
run: zip -r ./api-code-deploy2.zip ./plu-api/build/libs/*.jar ./scripts/plu-api/* -j
shell: bash

- name: Configure AWS credentials
Expand All @@ -59,7 +59,7 @@ 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-deploy.zip
run: aws s3 cp --region ap-northeast-2 ./api-code-deploy2.zip s3://$AWS_S3_BUCKET/api-code-deploy.zip

- name: Code Deploy
run: aws deploy create-deployment
Expand Down

0 comments on commit 30fb306

Please sign in to comment.