Skip to content

Commit

Permalink
Having checked-in generated docs back into main, trigger web site syn…
Browse files Browse the repository at this point in the history
…c using API call.
  • Loading branch information
ygoldfeld committed Jan 11, 2024
1 parent d37539c commit b662366
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1078,3 +1078,13 @@ jobs:
git add generated
git commit -m '${{ needs.set-vars.outputs.doc-commit-message }}'
git push origin main
- name: Signal Pages if we have updated the generated documentation in source control (then web site should update)
if: success() && (steps.doc_check_in.outcome != 'skipped')
run: |
# Signal Pages that we have updated the generated documentation in source control (web site should update).
curl -X POST \
-H 'Accept: application/vnd.github.v3+json' \
-H 'Authorization: token ${{ secrets.GIT_BOT_PAT }}' \
'https://api.github.com/repos/Flow-IPC/flow-ipc.github.io/dispatches' \
-d '{"event_type": "flow-ipc-sync-doc-event"}'

0 comments on commit b662366

Please sign in to comment.