Skip to content

Commit

Permalink
Trigger deploy of whatwg.org on changes
Browse files Browse the repository at this point in the history
Fixes #110.
  • Loading branch information
foolip committed Jun 17, 2020
1 parent 8a397d5 commit 4280453
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This triggers the Build workflow in whatwg/whatwg.org for changes here.
# https://developer.github.com/v3/repos/#create-a-repository-dispatch-event
name: Dispatch
on:
push:
branches:
- master
jobs:
dispatch:
name: Dispatch
runs-on: ubuntu-20.04
steps:
- run: |
curl --retry 2 --fail -X POST \
-H "Authorization: token ${{ secrets.DISPATCH_TOKEN }}" \
-d '{"event_type":"sg_repo_updated"}' \
https://api.github.com/repos/whatwg/whatwg.org/dispatches

0 comments on commit 4280453

Please sign in to comment.