diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 154c0c5d7c2fb77d8239f1fd89b0517ae39060be..bd43a4cc266a4b947603936b512a12dc6363042b 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