summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-01-04 14:24:21 +0700
committerhathach <[email protected]>2020-01-04 14:24:21 +0700
commit3362a4b09dac481cc47ae54446026fa211c4d914 (patch)
treeadf562aa2ad039e9482b99e5c340b79a036b661f /.github/workflows
parent6f03617ff56a4c057bbf846500f2c33cbe1d6d1d (diff)
change token name
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 1e41d6006..2ac5b2ba0 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -60,4 +60,4 @@ jobs:
- name: Trigger mynewt-tinyusb-example
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
+ 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