Skip to content

Commit

Permalink
Notify when documentation changes
Browse files Browse the repository at this point in the history
Signed-off-by: Albert Lombarte <albert@krakend.io>
  • Loading branch information
alombarte committed Feb 18, 2025
1 parent fd57caa commit d062d30
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on: [push]
name: Notify doc changes
permissions:
contents: read
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Notify to Slack
uses: slackapi/slack-github-action@v2.0.0
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook-type: webhook-trigger
payload: |
app: "${{ github.event.repository.name }}"
status: "${{ job.status }}"
env: "production"
msg: "${{ github.event.head_commit.message }} ${{ github.event.head_commit.url }}"

0 comments on commit d062d30

Please sign in to comment.