Skip to content

Commit

Permalink
feat: dispatch event to registry repo (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel-Develops authored Sep 16, 2024
1 parent b7ddc61 commit b8cde43
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,11 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

- name: Trigger dependent repo update submodule
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.DISPATCH_UPDATE_REGISTRY_GH_PAGES }}" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/repos/bitcointranscripts/registry/dispatches \
-d '{"event_type": "update_submodules"}'

0 comments on commit b8cde43

Please sign in to comment.