diff --git a/.github/actions/notify-slack/action.yml b/.github/actions/notify-slack/action.yml index c7e59b46..b65bef69 100644 --- a/.github/actions/notify-slack/action.yml +++ b/.github/actions/notify-slack/action.yml @@ -45,19 +45,18 @@ runs: id: slack uses: slackapi/slack-github-action@v1.27.0 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}} payload: | { - "text": "TESTING ---- ${{inputs.heading_text}}", "blocks": [ { "type": "section", "text": { "type": "mrkdwn", - "text": "section 1 text" + "text": "${{inputs.heading_text}}" } }, { @@ -67,7 +66,7 @@ runs: "type": "button", "text": { "type": "plain_text", - "text": ":github-actions: Pipeline", + "text": "Check the event", "emoji": true }, "url": "${{inputs.job_url}}"