From a36601158153cc394d8844f984e032ab9c1c5a42 Mon Sep 17 00:00:00 2001
From: plup <plup@plup.io>
Date: Mon, 16 Mar 2020 16:12:58 +0100
Subject: [PATCH] cicd: deployed manually stg from release branch

---
 .gitlab-ci.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 154c0c5d..bd43a4cc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -72,7 +72,8 @@ deploy_stg1:
     - npm run build
     - scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* stg1@astral.startinblox.com:~/front/
   only:
-    - master
+    - /^release\/.*/
+  when: manual
   tags:
     - deploy
 
@@ -88,7 +89,8 @@ deploy_stg2:
     - npm run build
     - scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* stg2@astral.startinblox.com:~/front/
   only:
-    - master
+    - /^release\/.*/
+  when: manual
   tags:
     - deploy
 
-- 
GitLab