diff options
| author | hathach <[email protected]> | 2020-01-09 21:31:10 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-01-09 21:31:10 +0700 |
| commit | 03d14f4d832efc8a015c2b13e09cab7f4fa48079 (patch) | |
| tree | 4a30b73f8cab4a5adb75bc52373e40681e683671 | |
| parent | dd96be492f055734da83a079e6c1332819ce07c7 (diff) | |
add trigger.yml
| -rw-r--r-- | .github/workflows/trigger.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/trigger.yml b/.github/workflows/trigger.yml new file mode 100644 index 000000000..a7ef1341d --- /dev/null +++ b/.github/workflows/trigger.yml @@ -0,0 +1,14 @@ +name: Trigger Repos + +on: + push: + branches: master + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: mynewt-tinyusb-example + shell: bash + run: | + curl -X POST -H "Authorization: token ${{ secrets.GH_REPO_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" --data '{"event_type": "rebuild"}' https://api.github.com/repos/hathach/mynewt-tinyusb-example/dispatches |
