Skip to content
Snippets Groups Projects
Commit 394e69aa authored by David Hrbáč's avatar David Hrbáč
Browse files

Enable deploy only on gitlab.it4i.cz

parent 96a64f67
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment