Skip to content

Commit ca8b862

Browse files
committed
notification color based on success/fail
1 parent 8878b58 commit ca8b862

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ jobs:
3434
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
3535
SLACK_USERNAME: docnow-build
3636
SLACK_ICON_EMOJI: ":test-tube:"
37+
SLACK_COLOR: "${{ job.status == 'success' && 'good' || 'danger' }}"

0 commit comments

Comments
 (0)