]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Add benchmark token
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 21 Sep 2020 22:08:20 +0000 (00:08 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 21 Sep 2020 22:08:20 +0000 (00:08 +0200)
.github/workflows/benchmarks.yml

index 0f8dcaf31f0dd1473fb16f9b9e37817d72330219..f5957b2080752713271e18dfccaa3d4ed6ea0229 100644 (file)
@@ -16,4 +16,4 @@ jobs:
         ORG: fennecdjay
         REPO: gwion-benchmark
       run: |
-        curl -d "{\"event_type\": \"${EVENT}\"}" -H "Content-Type: application/json" -H "Authorization: token ${GITHUB_TOKEN}" -H "Accept: application/vnd.github.everest-preview+json" "https://api.github.com/repos/${ORG}/${REPO}/dispatches"
+        curl -d "{\"event_type\": \"${EVENT}\"}" -H "Content-Type: application/json" -H "Authorization: token ${{ secrets.BENCHMARK_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" "https://api.github.com/repos/${ORG}/${REPO}/dispatches"