Skip to content

Commit 8a5069a

Browse files
committed
set SLACK_COLOR to job.status [no ci]
1 parent 080aea8 commit 8a5069a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ jobs:
9393
if: ${{ failure() && github.ref_name == 'main' }}
9494
uses: rtCamp/action-slack-notify@v2
9595
env:
96-
SLACK_TITLE: Defang Docs deploy workflow failed
9796
MSG_MINIMAL: actions url
97+
SLACK_COLOR: ${{ job.status }}
98+
SLACK_TITLE: Defang Docs deploy workflow failed
9899
SLACK_WEBHOOK: ${{ secrets.SLACK_NOTIFIER_WEBHOOK_URL }}

0 commit comments

Comments
 (0)