]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: put html in xxx/branch
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 20 Feb 2020 11:40:06 +0000 (12:40 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 20 Feb 2020 11:40:06 +0000 (12:40 +0100)
.github/workflows/coverage.yml

index a21ecea53e66c92dcb8c9884e768b79dedc8f969..5f8f9a72aa9f21061daa601f09d91c7dd85f5c59 100644 (file)
@@ -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'