summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/send_autobuild_webdocs_ping.yml
blob: 02837a1dd0bac2f61ca1b70618b7406c6b8d05d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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/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"'" }}'