From 2fb0117efdd010204313218ab2ba172de8b9859b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Thu, 23 Jun 2022 17:30:06 +0200 Subject: [PATCH] Fix --- .github/workflows/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 5534e0427..d56870913 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -71,13 +71,13 @@ jobs: if: | env.HAS_SECRETS == 'HAS_SECRETS' && github.event_name == 'push' - && github.event.ref_type != 'tag' + && github.ref_type != 'tag' - name: Publish run: c2cciutils-publish if: | env.HAS_SECRETS == 'HAS_SECRETS' && github.event_name == 'push' - && ( github.event.ref_type == 'tag' || github.event.ref_name == 'master' ) + && ( github.ref_type == 'tag' || github.ref_name == 'master' ) k8s: runs-on: ubuntu-20.04