Work Flow Commit Message Filter
Work flow Yaml 파일의 runs on, steps 사이에 if 문으로 특정 커밋메시지가 존재할 시 특정행동을 추가할 수 있다.
if: ${{ contains(github.event.head_commit.message, '#ios') || contains(github.event.head_commit.message, '#all') }}
#ios
혹은 #all
이 커밋 메시지에 있는 경우에만 Work Flow가 돌아가게 할 수 있다.
'⚙️ Ops > CI & CD' 카테고리의 다른 글
[Jenkins] AWS LightSail 설정 (0) | 2023.05.26 |
---|---|
Github Actions Self-Hosted-Runner (3) | 2023.05.24 |
Compress/Upload Error Report & Cache Gradle (1) | 2023.05.23 |
CI & CD Tool 선정 (0) | 2023.05.23 |
[CI & CD - AWS] 5 - Automated Deployment (0) | 2023.04.16 |