From 00c4eac73a9e74f9fae11da691f59e0253146649 Mon Sep 17 00:00:00 2001 From: amevarashi Date: Sun, 28 Apr 2024 17:28:49 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 351a915..dfac7b5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -123,10 +123,10 @@ release_dev: stage: deploy # image: registry.gitlab.com/gitlab-org/release-cli:latest # this image currently is amd64 only image: alpine:latest -# rules: -# - if: $CI_COMMIT_TAG -# when: never # Do not run this job when a tag is created manually -# - if: $CI_COMMIT_BRANCH == "ci-test" # Run this job when commits are pushed or merged to the dev branch + rules: + - if: $CI_COMMIT_TAG + when: never # Do not run this job when a tag is created manually + - if: $CI_COMMIT_BRANCH == "ci-test" # Run this job when commits are pushed or merged to the dev branch script: - 'apk add gitlab-release-cli' release: # See https://docs.gitlab.com/ee/ci/yaml/#release for available properties