From 3757d7851f1629318667127eed07ab42a2385855 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Thu, 20 Feb 2020 12:40:06 +0100 Subject: [PATCH] :wrench: put html in xxx/branch --- .github/workflows/coverage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a21ecea5..5f8f9a72 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -64,9 +64,9 @@ jobs: while true do wget https://badgen.net/badge/coverage/$COV_NUM/$COLOR -O gwion-coverage-report/badge.svg && break done - echo ref:${{ github.event.ref }} - mkdir gwion-coverage-report/html/test - cp gwion-coverage-report/html/*.html gwion-coverage-report/html/test + branch=$(basename ${{ github.event.ref }} + mkdir gwion-coverage-report/html/$branch + cp gwion-coverage-report/html/*.html gwion-coverage-report/html/$branch - name: Push Report if: github.event_name == 'push' -- 2.43.0