diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 11ff6e19d7c008e1cd5ac4fdad1ce963cba5b225..154c0c5d7c2fb77d8239f1fd89b0517ae39060be 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,7 +38,7 @@ deploy_test2:
     - npm run build
     - scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* test2@astral.startinblox.com:~/front/
   only:
-    - feature/*
+    - /^feature\/.*/
   when: manual
   tags:
     - deploy
@@ -55,7 +55,7 @@ deploy_test3:
     - npm run build
     - scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* test3@astral.startinblox.com:~/front/
   only:
-    - feature/*
+    - /^feature\/.*/
   when: manual
   tags:
     - deploy