notebook/.github/workflows/webhook.yaml

13 lines
371 B
YAML
Raw Normal View History

2021-07-08 17:33:34 +00:00
name: Push changes to upstream subtree
on: [push]
jobs:
trigger-index-workflow:
runs-on: ubuntu-latest
steps:
- run: |
2021-07-08 17:40:37 +00:00
curl -X POST -H "Authorization: token ${{ secrets.GH_WORKFLOW_PAT }}" -H "Content-Type: application/json" \
2021-07-08 17:33:34 +00:00
https://api.github.com/repos/infogulch/index/dispatches \
-d '{"event_type": "notebooks_push"}'