From 148f10d89d73bc2f63e47d79defe135e84db19df Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Thu, 20 Feb 2020 22:53:15 +0100 Subject: [PATCH] :wrench: delete [skip ci] --- .github/workflows/delete.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/delete.yml b/.github/workflows/delete.yml index 68797bce..db52c0fa 100644 --- a/.github/workflows/delete.yml +++ b/.github/workflows/delete.yml @@ -5,16 +5,14 @@ on: [ delete ] jobs: build: runs-on: ubuntu-latest -# if: "startsWith(github.event.ref, 'refs/heads/')" + if: "startsWith(github.event.ref_type, 'branch')" steps: - name: Clone report repo run: | - echo ${{ github.event.ref_type }} - echo ${{ github.event.ref }} git clone https://github.com/fennecdjay/gwion-coverage-report cd gwion-coverage-report - branch=$(basename ${{ github.event.ref }}) + branch=${{ github.event.ref }} if [ -d html/$branch ] then rm -r html/$branch -- 2.43.0