summaryrefslogtreecommitdiff
path: root/.github/workflows/trigger.yml
blob: a7ef1341debd72710d52547a89c0ff26984de5f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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