Skip to content

Commit

Permalink
Send a dispatch event to the superdb-website repo when docs change on…
Browse files Browse the repository at this point in the history
… this hugo-docs branch
  • Loading branch information
philrz committed Nov 24, 2024
1 parent 35dc983 commit 309851d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/notify-docs-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Notify docs update
on:
push:
branches:
- main
- hugo-docs
paths:
- 'docs/**.md'

Expand All @@ -13,4 +13,4 @@ jobs:
steps:
- name: Send dispatch event
run: |
curl -XPOST -u "${{ secrets.PAT_USERNAME }}:${{ secrets.PAT_TOKEN }}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/brimdata/zed-docs-site/dispatches --data '{"event_type":"zed-docs-update"}'
curl -XPOST -u "${{ secrets.PAT_USERNAME }}:${{ secrets.PAT_TOKEN }}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/brimdata/superdb-website/dispatches --data '{"event_type":"super-docs-update", "client_payload": {"commit_sha": "${{ github.sha }}"}}'

0 comments on commit 309851d

Please sign in to comment.