From 0cffaf31a55b2d64223676da43695ea949cb93df Mon Sep 17 00:00:00 2001 From: Milos Danilov Date: Tue, 11 Oct 2022 11:24:49 +0200 Subject: [PATCH] ci(gitlab-ci): add condition to trigger internal-publish only for branches --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 166b367..7a9fe16 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -91,6 +91,9 @@ test:e2e: internal-publish: stage: publish + rules: + # trigger only for branches, skip tags + - if: '$CI_COMMIT_BRANCH == $CI_COMMIT_REF_NAME' dependencies: - build script: