mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
change to token
This commit is contained in:
parent
019d1b09c5
commit
2cbd0cdf50
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -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"}'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user