From 7f5b7bd8c5c1cc7318291779905ca414bd65a826 Mon Sep 17 00:00:00 2001 From: Cosmo Myzrail Gorynych Date: Sun, 27 Mar 2022 02:13:28 +1200 Subject: [PATCH] :construction: Gitlab CI is predictable and stable --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6780337d7..45ccc65b1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -61,9 +61,11 @@ pack-deploy-release: - gulp -f devSetup.gulpfile.js - gulp packages --buildNum=$CI_COMMIT_TAG - gulp deployOnly --buildNum=$CI_COMMIT_TAG + only: + - tags rules: # Build for tags on master only - - if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH == "master" + - if: $CI_COMMIT_BRANCH == "master" pack-deploy-nightly: stage: pack