hathach 6 anos atrás
pai
commit
4282a0d96a
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      .github/workflows/build.yml

+ 2 - 2
.github/workflows/build.yml

@@ -58,5 +58,5 @@ jobs:
     needs: build
     needs: build
     steps:
     steps:
     - name: Trigger mynewt-tinyusb-example
     - 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