Skip to content

Commit 2710bee

Browse files
committed
rollback notification
1 parent d770cb5 commit 2710bee

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/05_release_deploy.yml

+18-18
Original file line numberDiff line numberDiff line change
@@ -147,21 +147,21 @@ jobs:
147147
target: ${{ needs.setup.outputs.environment }}
148148
secrets: inherit
149149

150-
# notify:
151-
# name: Notify
152-
# needs: [ setup, release, deploy_aks ]
153-
# runs-on: ubuntu-latest
154-
# if: always()
155-
# steps:
156-
# - name: Report Status
157-
# if: always()
158-
# uses: ravsamhq/notify-slack-action@v2
159-
# with:
160-
# status: ${{ needs.deploy_aks.result }}
161-
# token: ${{ secrets.GITHUB_TOKEN }}
162-
# notification_title: 'New Release on ${{ needs.setup.outputs.environment }} for ${{ needs.release.outputs.version }} has {status_message}'
163-
# message_format: '{emoji} <{run_url}|{workflow}> {status_message} in <{repo_url}|{repo}>'
164-
# footer: 'Linked to <{workflow_url}| workflow file>'
165-
# icon_success: ':white_check_mark:'
166-
# env:
167-
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
150+
notify:
151+
name: Notify
152+
needs: [ setup, release, deploy_aks ]
153+
runs-on: ubuntu-latest
154+
if: always()
155+
steps:
156+
- name: Report Status
157+
if: always()
158+
uses: ravsamhq/notify-slack-action@v2
159+
with:
160+
status: ${{ needs.deploy_aks.result }}
161+
token: ${{ secrets.GITHUB_TOKEN }}
162+
notification_title: 'New Release on ${{ needs.setup.outputs.environment }} for ${{ needs.release.outputs.version }} has {status_message}'
163+
message_format: '{emoji} <{run_url}|{workflow}> {status_message} in <{repo_url}|{repo}>'
164+
footer: 'Linked to <{workflow_url}| workflow file>'
165+
icon_success: ':white_check_mark:'
166+
env:
167+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)