Skip to content
Snippets Groups Projects

Enable deploy only on gitlab.it4i.cz

Merged David Hrbáč requested to merge ci_code into master
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
+ 3
1
@@ -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
Loading