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 deploy of whatwg.org on changes #131

Merged
merged 4 commits into from
Jun 17, 2020
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
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