From d6bf2e7bc98337b357b27232785784c5ba0feea0 Mon Sep 17 00:00:00 2001 From: limited_dev Date: Thu, 29 Jun 2023 08:57:22 +0200 Subject: [PATCH] chore: update .gitlab-ci.yml to only run at tag creation Signed-off-by: limited_dev --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6fcd41c..ba0f4a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,6 +21,8 @@ cache: - build build: + only: + - tags stage: build script: - gradle shadowJar @@ -28,6 +30,8 @@ build: - tags publish: + only: + - tags stage: publish script: - gradle publish