Skip to content

Commit

Permalink
chore: added webhook-type for slack-github-action
Browse files Browse the repository at this point in the history
  • Loading branch information
asthabh23 committed Jan 7, 2025
1 parent fb70491 commit a1bd9f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/log-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
{
"text": "Just published: `${{ github.event.client_payload.path }}`"
}
webhook-type: webhook-trigger
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
- name: Notify Slack (Markdown)
if: ${{ endsWith(github.event.client_payload.path, '.md') }}
uses: slackapi/slack-github-action@v2.0.0
Expand All @@ -41,3 +43,5 @@ jobs:
{
"text": "Just published: https://www.aem.live${{ steps.format.outputs.replaced }}"
}
webhook-type: webhook-trigger
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit a1bd9f9

Please sign in to comment.