Skip to content

Commit

Permalink
Fix: codedeploy group 이름 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
BYEONGRYEOL committed Aug 8, 2024
1 parent 5d6ce4f commit a845bb5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cicd-ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
AWS_REGION: ap-northeast-2
S3_BUCKET_NAME: genti-deploy
CODE_DEPLOY_APPLICATION_NAME: genti
CODE_DEPLOY_DEPLOYMENT_GROUP_NAME: genti-deploy-group

permissions:
contents: read

Expand Down Expand Up @@ -92,6 +92,7 @@ jobs:
- name: Get Github action IP
if: contains(github.ref, 'staging')
id: ip
uses: haythem/[email protected]

Expand Down Expand Up @@ -170,7 +171,7 @@ jobs:
aws deploy create-deployment \
--application-name ${{ env.CODE_DEPLOY_APPLICATION_NAME }} \
--deployment-config-name CodeDeployDefault.AllAtOnce \
--deployment-group-name ${{ env.CODE_DEPLOY_DEPLOYMENT_GROUP_NAME }} \
--deployment-group-name ${{ secrets.CODE_DEPLOY_DEPLOYMENT_GROUP_NAME }} \
--s3-location bucket=$S3_BUCKET_NAME,key=$GITHUB_SHA.zip,bundleType=zip
# docker build & push to staging
Expand Down

0 comments on commit a845bb5

Please sign in to comment.