diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 75f6648390d5a79c14b2ba505f6f61aeb18cba54..712a7d6eccf8ca283a2b711f2908fefef91e6870 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -98,6 +98,8 @@ deploy to stage: script: - chown nginx:nginx site -R - rsync -a --delete site/ root@"$SSH_HOST_STAGE":/srv/docs.it4i.cz/devel/$CI_BUILD_REF_NAME/ + only: + - branches@it4i-admins/docs.it4i deploy to production: environment: production @@ -120,5 +122,5 @@ deploy to production: - chown nginx:nginx site -R - rsync -a --delete site/ root@"$SSH_HOST_STAGE":/srv/docs.it4i.cz/site/ only: - - master + - master@it4i-admins/docs.it4i when: manual