From 3e43a27b86d28646a64d2cc2e944228deed78ffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20J=C3=A4ntsch?= Date: Wed, 5 Sep 2018 13:41:05 +0200 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e660500..ba214f4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,8 @@ stages: image: node:8.11.4 setup: - only: master + only: + - master tags: - prod script: @@ -23,7 +24,8 @@ setup: build: stage: build - only: master + only: + - master tags: - prod script: @@ -31,7 +33,8 @@ build: deploy: stage: deploy - only: master + only: + - master tags: - prod script: @@ -45,6 +48,8 @@ deploy: cleanup: tags: - prod + only: + - master stage: cleanup script: - rm -rf ./*