From: Jérémie Astor Date: Wed, 23 Sep 2020 22:03:16 +0000 (+0200) Subject: :wrench: Change benchmarks payload X-Git-Tag: nightly~1265 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=0826b5aa25270c685c8775165b6e2a235bc9a1b7;p=gwion.git :wrench: Change benchmarks payload --- diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 9b90072e..c0f833ef 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -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"