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
Tags
5 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section,!91Enable deploy only on gitlab.it4i.cz
Pipeline #
...@@ -98,6 +98,8 @@ deploy to stage: ...@@ -98,6 +98,8 @@ deploy to stage:
script: script:
- chown nginx:nginx site -R - chown nginx:nginx site -R
- rsync -a --delete site/ root@"$SSH_HOST_STAGE":/srv/docs.it4i.cz/devel/$CI_BUILD_REF_NAME/ - 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: deploy to production:
environment: production environment: production
...@@ -120,5 +122,5 @@ deploy to production: ...@@ -120,5 +122,5 @@ deploy to production:
- chown nginx:nginx site -R - chown nginx:nginx site -R
- rsync -a --delete site/ root@"$SSH_HOST_STAGE":/srv/docs.it4i.cz/site/ - rsync -a --delete site/ root@"$SSH_HOST_STAGE":/srv/docs.it4i.cz/site/
only: only:
- master - master@it4i-admins/docs.it4i
when: manual when: manual
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment