Files
clio/.github/workflows/clio_ci.yml
2022-01-05 10:36:56 -05:00

15 lines
578 B
YAML

name: Trigger clio-ci
on: [pull_request, push]
jobs:
dispatch_build_event:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Send build_packages repository_dispatch event to clio-ci
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
run: |
curl -H "Authorization: token $GITHUB_TOKEN" \
-H 'Accept: application/vnd.github.v3+json' \
"https://api.github.com/repos/legleux/clio-ci/dispatches" \
-d '{"event_type": "build", "client_payload": {"SHA": "${{ github.sha }}"}}'