Skip to content

Commit

Permalink
added the webhook back
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeet-joy_xero committed Oct 18, 2024
1 parent 7153c5a commit 592ba58
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/actions/notify-slack/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@ runs:
id: slack
uses: slackapi/[email protected]
env:
# SLACK_WEBHOOK_URL: ${{inputs.XERO_SLACK_WEBHOOK_URL}}
SLACK_BOT_TOKEN: ${{inputs.bot_token}}
SLACK_WEBHOOK_URL: ${{inputs.XERO_SLACK_WEBHOOK_URL}}
# SLACK_BOT_TOKEN: ${{inputs.bot_token}}
with:
channel-id: ${{inputs.channel_id}}
# channel-id: ${{inputs.channel_id}}
payload: |
{
"text": "Publish has failed"
"blocks": [
{
"type": "section",
Expand Down

0 comments on commit 592ba58

Please sign in to comment.