From 0039b038bcc14d9ff0723ae301952bb96d717dcd Mon Sep 17 00:00:00 2001 From: _Tradam Date: Tue, 9 May 2023 21:20:11 -0400 Subject: Create send_autobuild_webdocs_ping.yml --- .github/workflows/send_autobuild_webdocs_ping.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/send_autobuild_webdocs_ping.yml (limited to '.github') diff --git a/.github/workflows/send_autobuild_webdocs_ping.yml b/.github/workflows/send_autobuild_webdocs_ping.yml new file mode 100644 index 0000000..d392450 --- /dev/null +++ b/.github/workflows/send_autobuild_webdocs_ping.yml @@ -0,0 +1,19 @@ +name: Remote Dispatch Action Initiator + +on: + push: + +jobs: + ping-pong: + runs-on: ubuntu-latest + steps: + - name: PING - Dispatch initiating repository event + if: github.event.action != 'pong' + run: | + curl -X POST https://api.github.com/repos/marcnuri-demo/actions-remote-dispatch-b/dispatches \ + -H 'Accept: application/vnd.github.everest-preview+json' \ + curl -x post https://api.github.com/repos/catgirlsrodeo/dev.catgirls.rodeo/dispatches \ + -h 'accept: application/vnd.github.everest-preview+json' \ + -u ${{ secrets.access_token }} \ + --data '{"event_type": "trigger_build", "client_payload": { "repository": "'"$github_repository"'" }}' + -- cgit v1.2.3