Add workflow to trigger index repo
This commit is contained in:
parent
4d6de553ab
commit
668027bf93
12
.github/workflows/webhook.yaml
vendored
Normal file
12
.github/workflows/webhook.yaml
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
name: Push changes to upstream subtree
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
trigger-index-workflow:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: |
|
||||
curl -x POST -H "Authorization: token ${GH_WORKFLOW_PAT}" -H "Content-Type: application/json" \
|
||||
https://api.github.com/repos/infogulch/index/dispatches \
|
||||
-d '{"event_type": "notebooks_push"}'
|
||||
|
Loading…
Reference in New Issue
Block a user