diff options
| author | Ha Thach <[email protected]> | 2020-01-09 22:12:00 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-01-09 22:12:00 +0700 |
| commit | e685aa9c5e551e00bd05332d092b019cad692b67 (patch) | |
| tree | d33ab9e5fcc2bd9047dd0b44fb432e272ce784e4 /.github | |
| parent | 99f76eaaaaceea1adcf010b6ab29246f5a32b08a (diff) | |
| parent | 84bbe54e171c92efb669ccb9a4960e406c8afa17 (diff) | |
Merge pull request #262 from hathach/develop
follow up to #261
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build.yml | 1 | ||||
| -rw-r--r-- | .github/workflows/trigger.yml | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6e71351a9..4fc11f3dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,3 +52,4 @@ jobs: - name: Build run: python3 tools/build_all.py ${{ matrix.example }} + 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 |
