summaryrefslogtreecommitdiff
path: root/.github/workflows/trigger.yml
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-03-22 17:19:57 +0700
committerhathach <[email protected]>2020-03-22 17:19:57 +0700
commit4f871063fd33db2b55c6f78130c723a8854e0b11 (patch)
treeddc78bd68c16a0895e0a7b4f9d1aff6380a20484 /.github/workflows/trigger.yml
parent1ab3a1035c997e66b2014e8edfb92e10202cd988 (diff)
parente47f9921570c75afd3288407601897c5b283f043 (diff)
Merge branch 'master' into cr1901-msp430f5529
Diffstat (limited to '.github/workflows/trigger.yml')
-rw-r--r--.github/workflows/trigger.yml14
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