diff options
| author | hathach <[email protected]> | 2020-01-03 17:19:23 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-01-03 17:19:23 +0700 |
| commit | 2cbd0cdf5046201428b255c942ce760ac859d172 (patch) | |
| tree | 2c48d97dbd7cb5e0aba7b4ae0f7f57e01c2fb0e0 | |
| parent | 019d1b09c5fcaa601af6e0a2aba882031bcbd3c7 (diff) | |
change to token
| -rw-r--r-- | .github/workflows/build.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fbbea9e15..f7dddfc86 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 -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"}' + - 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"}' |
