Skip to content

Commit

Permalink
chore: CodeDeploy 스크립트 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
bbearcookie committed Oct 29, 2023
1 parent b76c201 commit 26bcf1e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/express-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ jobs:
- name: Upload to S3
run: aws s3 cp --region ap-northeast-2 ./$GITHUB_SHA.gz s3://${{secrets.AWS_BACKEND_S3_BUCKET}}/deployment/$GITHUB_SHA.gz

# - uses: awact/s3-action@master
# with:
# args: --acl public-read --follow-symlinks --delete
# env:
# SOURCE_DIR: './packages/slack/dist'
# AWS_S3_BUCKET: ${{ secrets.AWS_BACKEND_S3_BUCKET }}
- name: Code Deploy
run: aws deploy create-deployment
--application-name ${{secrets.AWS_BACKEND_CODEDEPLOY_APPLICATION_NAME}}
--deployment-config-name CodeDeployDefault.AllAtOnce
--deployment-group-name ${{secrets.AWS_BACKEND_CODEDEPLOY_GROUP_NAME}}
--s3-location bucket=${{secrets.AWS_BACKEND_S3_BUCKET}}, bundleType=tgz, key=${{secrets.AWS_BACKEND_S3_BUCKET}}/deployment/$GITHUB_SHA.gz

0 comments on commit 26bcf1e

Please sign in to comment.