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