curl again

This commit is contained in:
hathach 2020-01-03 17:37:10 +07:00
parent 2cbd0cdf50
commit 4282a0d96a
1 changed files with 2 additions and 2 deletions

View File

@ -58,5 +58,5 @@ jobs:
needs: build
steps:
- name: Trigger mynewt-tinyusb-example
- run: curl -X POST -H "Authorization: token ${{ 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"}'
shell: bash
run: curl -X POST -H "Authorization: token ${{ secrets.MYNEWT_EXAMPLE_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