Skip to content

Commit b8cde43

Browse files
feat: dispatch event to registry repo (#64)
1 parent b7ddc61 commit b8cde43

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,11 @@ jobs:
3131
with:
3232
github_token: ${{ secrets.GITHUB_TOKEN }}
3333
publish_dir: ./public
34+
35+
- name: Trigger dependent repo update submodule
36+
run: |
37+
curl -X POST \
38+
-H "Authorization: token ${{ secrets.DISPATCH_UPDATE_REGISTRY_GH_PAGES }}" \
39+
-H "Accept: application/vnd.github+json" \
40+
https://api.github.com/repos/bitcointranscripts/registry/dispatches \
41+
-d '{"event_type": "update_submodules"}'

0 commit comments

Comments
 (0)