-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (32 loc) · 1.29 KB
/
send-slack-notification.yml
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
37
name: "send-slack-notification"
on: workflow_dispatch
jobs:
send-slack-notification:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Send slack notification on chanel Ninbus updates
id: slack-nimbus-updates
uses: slackapi/[email protected]
with:
payload-file-path: ./.github/resources/payload-notification.json
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_NIMBUS_UPDATES }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
- name: Send slack notification on chanel Ninbus deploying
id: slack-deploying
uses: slackapi/[email protected]
with:
payload-file-path: ./.github/resources/payload-notification.json
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_DEPLOYING }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
- name: Send slack notification on chanel Tech product updates
id: slack-tech-product-updates
uses: slackapi/[email protected]
with:
payload-file-path: ./.github/resources/payload-notification.json
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_TECH_PRODUCT_UPDATES }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK