Skip to content

Commit

Permalink
disabled notification
Browse files Browse the repository at this point in the history
  • Loading branch information
aomegax committed Apr 8, 2024
1 parent 2345757 commit 313c5e4
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/05_release_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,21 +147,21 @@ jobs:
target: ${{ needs.setup.outputs.environment }}
secrets: inherit

notify:
name: Notify
needs: [ setup, release, deploy_aks ]
runs-on: ubuntu-latest
if: always()
steps:
- name: Report Status
if: always()
uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ needs.deploy_aks.result }}
token: ${{ secrets.GITHUB_TOKEN }}
notification_title: 'New Release on ${{ needs.setup.outputs.environment }} for ${{ needs.release.outputs.version }} has {status_message}'
message_format: '{emoji} <{run_url}|{workflow}> {status_message} in <{repo_url}|{repo}>'
footer: 'Linked to <{workflow_url}| workflow file>'
icon_success: ':white_check_mark:'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
# notify:
# name: Notify
# needs: [ setup, release, deploy_aks ]
# runs-on: ubuntu-latest
# if: always()
# steps:
# - name: Report Status
# if: always()
# uses: ravsamhq/notify-slack-action@v2
# with:
# status: ${{ needs.deploy_aks.result }}
# token: ${{ secrets.GITHUB_TOKEN }}
# notification_title: 'New Release on ${{ needs.setup.outputs.environment }} for ${{ needs.release.outputs.version }} has {status_message}'
# message_format: '{emoji} <{run_url}|{workflow}> {status_message} in <{repo_url}|{repo}>'
# footer: 'Linked to <{workflow_url}| workflow file>'
# icon_success: ':white_check_mark:'
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit 313c5e4

Please sign in to comment.