From 84b3d47551a0509874b98ba9cf96578adb2d90fd Mon Sep 17 00:00:00 2001
From: Fabien COMBERNOUS <fabien.combernous@adullact.org>
Date: Mon, 18 Mar 2019 17:46:17 +0100
Subject: [PATCH] build artefact only on commit with tags on master branch

---
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6a56260..a6ae84d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -161,10 +161,10 @@ module release:
     - pdk build
   tags:
     - puppet-tests
-  when: manual
-  allow_failure: false
   only:
-    - master
+    - tags
+  except:
+    - branches
   artifacts:
     paths:
       - pkg/
-- 
GitLab