개발지식
Git WebHook 등록하기 (Slack, Mattermost)
dodo1054
2023. 6. 23. 14:26
반응형
- Git Webhook 사용하기
- Mattermost
- MatterMost → 통합 → 전체 Incoming Webhook → Incoming Webhook 추가
- Incoming Webhook
- 해당 웹훅에 대한 제목 및 설명 입력
- 채널 선택
- 웹후크 URL 복사
- Slack
- 더보기 → GitHub Enterprise Server 앱 및 Incomig WebHooks 앱 설치
- Incoming WebHooks
- 채널에 포스트 ( 채널선택 )
- 웹후크 URL 복사 후 설정 저장
- Git WebHook 등록
- 자신의 Organizations → Repositories → Settings → Webhooks
- Add webhook 선택
- Payload URL : MatterMost 및 Slack incoming WebHooks URL 입력
- ContentType: application/json
- Secret: Secret 키 있을 시 입력
- Just the push event. - PUSH 이벤트Let me select individual events. - 선택적 웹훅 ( 체크박스 선택 )
- Send me everything. - Commit, Push, Pull Request 등 전체 액션에 대한 웹훅
- Active 체크 후 저장
반응형