trigger.yml 455 B

1234567891011121314
  1. name: Trigger Repos
  2. on:
  3. push:
  4. branches: master
  5. jobs:
  6. trigger:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - name: mynewt-tinyusb-example
  10. shell: bash
  11. run: |
  12. 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