From 3e02d7ddbc04cf3bfc681a5f4cfe6b91a9860cbd Mon Sep 17 00:00:00 2001 From: Christian Moritz Date: Sun, 6 Oct 2019 17:18:15 +0200 Subject: refactor benchmark results posting (#3076) --- .github/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c6e526b2c..b1d873741 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -115,16 +115,15 @@ jobs: env: DENOBOT_PAT: ${{ secrets.DENOBOT_PAT }} run: | - # Note gh-pages branch is cloned into //gh-pages/ by - # tools/benchmark.py, hence the following copy is ok: + git clone --depth 1 -b gh-pages https://${DENOBOT_PAT}@github.com/denoland/deno.git gh-pages + python ./tools/build_benchmark_jsons.py cp -r website/* gh-pages/ cd gh-pages - git remote add origin2 https://${DENOBOT_PAT}@github.com/denoland/deno.git git config user.email "propelml@gmail.com" git config user.name "denobot" git add . git commit --message "Update benchmarks" - git push origin2 gh-pages + git push origin gh-pages - name: Worker info if: matrix.kind == 'bench' -- cgit v1.2.3