summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6e71351a9..fbbea9e15 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -52,3 +52,11 @@ jobs:
- name: Build
run: python3 tools/build_all.py ${{ matrix.example }}
+
+ trigger-mynewt:
+ runs-on: ubuntu-latest
+ needs: build
+ steps:
+ - name: Trigger mynewt-tinyusb-example
+ - run: curl -XPOST -u "hathach:${{secrets.MYNEWT_EXAMPLE_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/hathach/mynewt-tinyusb-example/dispatches --data '{"event_type": "build_application"}'
+