From 63d181aff0f74ff018b46c1f37832fdbf8b1f1a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Mon, 13 Dec 2021 12:49:17 +0100 Subject: [PATCH] Trigger participate.whatwg.org deploy on changes --- .github/workflows/dispatch.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index 0c7423d..a6bf1ee 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -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: @@ -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