Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger participate.whatwg.org deploy on changes #185

Merged
merged 1 commit into from
Dec 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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