summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/send_autobuild_webdocs_ping.yml
blob: 5d60d0cb90c8c1b61f75dfa553c438e22175d1f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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+json" \
          -H "Authorization: Bearer ${{ secrets.access_token }}" \
          -d '{"event_type":"on-demand-test","client_payload":{"unit":false,"integration":true}}'