summaryrefslogtreecommitdiff
path: root/.github/workflows/trigger.yml
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2020-01-09 22:12:00 +0700
committerGitHub <[email protected]>2020-01-09 22:12:00 +0700
commite685aa9c5e551e00bd05332d092b019cad692b67 (patch)
treed33ab9e5fcc2bd9047dd0b44fb432e272ce784e4 /.github/workflows/trigger.yml
parent99f76eaaaaceea1adcf010b6ab29246f5a32b08a (diff)
parent84bbe54e171c92efb669ccb9a4960e406c8afa17 (diff)
Merge pull request #262 from hathach/develop
follow up to #261
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