From 82d24d4b97058f116f07b8e7c5c354ec31461d31 Mon Sep 17 00:00:00 2001 From: Claudia Garcia Date: Thu, 27 Apr 2023 12:42:00 +0100 Subject: [PATCH] [CONTENT-3783] Point to the correct webhook Signed-off-by: Claudia Garcia --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9f9f61a..16d2f69 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -93,7 +93,7 @@ jobs: name: Notify unsuccessful CI run steps: - name: Notify in Slack channel - if: ${{ needs.build_multiarch.result != 'success' || needs.deploy_manifests.result != 'success' }} + if: ${{ needs.build_multiarch.result == 'failure' || needs.deploy_manifests.result == 'failure' }} uses: slackapi/slack-github-action@v1.23.0 with: payload: | @@ -117,5 +117,5 @@ jobs: ] } env: - SLACK_WEBHOOK_URL: ${{ secrets.TEST_CI_SLACK_WEBHOOK_URL }} + SLACK_WEBHOOK_URL: ${{ secrets.CI_SLACK_WEBHOOK_URL }} SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK