diff options
| author | hathach <[email protected]> | 2020-01-03 17:37:10 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-01-03 17:37:10 +0700 |
| commit | 4282a0d96aef028f0557de18aa022ea84829d155 (patch) | |
| tree | a9f30fa134a570a07737a524b7cd3c00659f1ef8 /.github/workflows | |
| parent | 2cbd0cdf5046201428b255c942ce760ac859d172 (diff) | |
curl again
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f7dddfc86..d27896f7d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 |
