From bb4ab8043eab62ee909ce7945c9ecb9eebd145b8 Mon Sep 17 00:00:00 2001 From: Frank Sauerburger <frank@sauerburger.com> Date: Wed, 27 Nov 2024 23:21:15 +0100 Subject: [PATCH] Run deploy only for tags --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6462a5e..f168d52 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,6 +15,8 @@ include: deploy: image: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG stage: deploy + rules: + - if: $CI_COMMIT_TAG variables: GIT_STRATEGY: none script: -- GitLab