Skip to content

Commit

Permalink
update slack notif on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ccmao1130 committed Feb 12, 2025
1 parent 86b3377 commit c9d6c18
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ jobs:
- name: Send Slack notification on failure
uses: slackapi/slack-github-action@v2.0.0
if: failure()
with:
payload: |
{
Expand All @@ -221,5 +220,5 @@ jobs:
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook-type: incoming-webhook

0 comments on commit c9d6c18

Please sign in to comment.