mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-30 08:35:52 +00:00
15 lines
578 B
YAML
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 }}"}}' |