Skip to content

Commit

Permalink
Trigger participate.whatwg.org deploy on changes
Browse files Browse the repository at this point in the history
Closes #171.
  • Loading branch information
foolip authored Dec 13, 2021
1 parent f04c156 commit c46ec2d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# This triggers the Build workflow in whatwg/whatwg.org for changes here.
# This triggers the deploy workflows in whatwg/whatwg.org and
# participate.whatwg.org for changes here.
# https://developer.github.com/v3/repos/#create-a-repository-dispatch-event
name: Dispatch
on:
Expand All @@ -15,3 +16,8 @@ jobs:
-H "Authorization: token ${{ secrets.DISPATCH_TOKEN }}" \
-d '{"event_type":"sg_repo_updated"}' \
https://api.github.com/repos/whatwg/whatwg.org/dispatches
- 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/participate.whatwg.org/dispatches

0 comments on commit c46ec2d

Please sign in to comment.