From 4dbe297ae15f1989439a5887c8e08e182541349f Mon Sep 17 00:00:00 2001 From: Yuri Volkov <0@mcornholio.ru> Date: Wed, 21 Aug 2024 10:14:57 +0200 Subject: [PATCH] Deploying staging on tags (#433) --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a5ad6a6f..ba418486 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,6 +45,7 @@ variables: .deploy-stg-refs: &deploy-stg-refs rules: - if: $CI_COMMIT_REF_NAME == "main" # on commits to main branch + - if: $CI_COMMIT_REF_NAME =~ /^stg-v[0-9]+\.[0-9]+.*$/ # on staging tags .deploy-prod-refs: &deploy-prod-refs rules: