pause cicd #1
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 CD | |
# 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 Comment 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 Comment Service workflow has failed." | |
# } | |
# env: | |
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |