]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Change benchmarks payload
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Wed, 23 Sep 2020 22:03:16 +0000 (00:03 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Wed, 23 Sep 2020 22:03:16 +0000 (00:03 +0200)
.github/workflows/benchmarks.yml

index 9b90072ebf3cefa668ef1368b173190dca54bd34..c0f833efaf4438b26833220f2fdf952efa40db05 100644 (file)
@@ -20,5 +20,5 @@ jobs:
         ORG: fennecdjay
         REPO: gwion-benchmark
       run: |
-        echo "{\"event_type\": \"${EVENT}\", \"client_payload\": {\"commit_info\":\"$(git log -n1 --date=format:'%D %H:%M:%S' --format='> Author: %an  \\nDate: %cd  \\nCommit: %h')\"}}" > commit_info
+        echo "{\"event_type\": \"${EVENT}\", \"client_payload\": {\"commit_info\":\"$(git log -n1 --date=format:'%D %H:%M:%S' --format='> Author: %an Date: %cd  Commit: %h')\"}}" > commit_info
         curl -d "@commit_info" -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"