Skip to content

Commit

Permalink
chore : 워크 플로 트리거 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yel-m authored May 7, 2024
1 parent 4300197 commit 3db99cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest # 3. 실행 환경 지정
# if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'develop'
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'develop'

# 4. 실행 스텝 지정
steps:
Expand Down Expand Up @@ -63,4 +63,4 @@ jobs:
run: aws s3 cp --region ap-northeast-2 ./$GITHUB_SHA.zip s3://$S3_BUCKET_NAME/$PROJECT_NAME/$GITHUB_SHA.zip

- name: Code Deploy
run: aws deploy create-deployment --application-name happinessql-deploy --deployment-config-name CodeDeployDefault.AllAtOnce --deployment-group-name develop --s3-location bucket=$S3_BUCKET_NAME,bundleType=zip,key=$PROJECT_NAME/$GITHUB_SHA.zip
run: aws deploy create-deployment --application-name happinessql-deploy --deployment-config-name CodeDeployDefault.AllAtOnce --deployment-group-name develop --s3-location bucket=$S3_BUCKET_NAME,bundleType=zip,key=$PROJECT_NAME/$GITHUB_SHA.zip

0 comments on commit 3db99cf

Please sign in to comment.