Skip to content

Commit

Permalink
chore [#212] develop 브랜치에 push 되면 배포되는 것으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ch1hyun committed Jan 24, 2025
1 parent f77233c commit 5c1b5c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: CI workflow
# Event Trigger 환경
on:
pull_request:
branches: [ "temp" ] # pull request가 develop 브랜치에 생성되면 트리거
branches: [ "develop" ]

permissions: # 워크플로우 권한
contents: read # 읽기
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/workflow-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ name: CD workflow

# Event Trigger 환경
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "main", "develop" ] # push가 main 브랜치에 생성되면 트리거
branches: [ "main" ]

permissions: # 워크플로우 권한
id-token: write
Expand Down

0 comments on commit 5c1b5c4

Please sign in to comment.