-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 1023 Bytes
/
notifyCD.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# name: Send Slack Notification for User Service
# on:
# workflow_call:
# secrets:
# SLACK_WEBHOOK_URL:
# required: true
# jobs:
# success_notifier:
# if: success()
# runs-on: ubuntu-latest
# steps:
# - name: Send success notification on Slack
# uses: slackapi/slack-github-action@v1.24.0
# with:
# payload: |
# {
# "text": "The Continuous Deployment for User Service workflow has completed successfully."
# }
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
# failure_notifier:
# if: failure()
# runs-on: ubuntu-latest
# steps:
# - name: Send failure notification on Slack
# uses: slackapi/slack-github-action@v1.24.0
# with:
# payload: |
# {
# "text": "The Continuous Deployment for User Service workflow has failed."
# }
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}