Add workflow to trigger index repo

This commit is contained in:
Joe 2021-07-08 12:33:34 -05:00
parent 4d6de553ab
commit 668027bf93
1 changed files with 12 additions and 0 deletions

12
.github/workflows/webhook.yaml vendored Normal file
View 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"}'