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