Skip to content

Commit

Permalink
fix: use ncn-system-ops slack for daily alerts (#2819)
Browse files Browse the repository at this point in the history
Signed-off-by: Tarun Gupta Akirala <[email protected]>
  • Loading branch information
takirala authored Nov 13, 2024
1 parent 6c939c4 commit 9bd8b93
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,10 @@ jobs:
if: ${{contains(needs.*.result, 'failure') }}
uses: slackapi/[email protected]
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_NTNX_NCNDKPSHIPIT }}
SLACK_WEBHOOK_URL: ${{ endsWith(github.ref_name, '-dev') && secrets.DKP_TESTING_ALERTMANAGER_SLACK_URL || secrets.SLACK_WEBHOOK_NTNX_NCNDKPSHIPIT }}
with:
payload: |
{
"text": "${{github.repository}} release ${{ github.ref_name }} failed",
"blocks": [
{
"type": "header",
Expand All @@ -114,7 +113,6 @@ jobs:
with:
payload: |
{
"text": "${{github.repository}} release ${{ github.ref_name }} succeeded",
"blocks": [
{
"type": "header",
Expand Down

0 comments on commit 9bd8b93

Please sign in to comment.