From e4e1944dc2f968530d39a3a8a5b4d003d2807167 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Fri, 24 Apr 2020 20:43:44 -0400 Subject: [PATCH] don't deploy without tag --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 239c1e3..fd79a89 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,6 +28,9 @@ test: - python manage.py test deploy: + only: + variables: + - $CI_COMMIT_TAG stage: deploy image: name: debian:latest