send-slack-notification #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |