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 ./*