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

Silent rsync

parent 87d345d4
No related branches found
No related tags found
4 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
Pipeline #
...@@ -51,7 +51,7 @@ deploy to stage: ...@@ -51,7 +51,7 @@ deploy to stage:
- useradd -lM nginx - useradd -lM nginx
script: script:
- chown nginx:nginx site -R - chown nginx:nginx site -R
- rsync -av --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/
deploy to production: deploy to production:
environment: production environment: production
...@@ -72,7 +72,7 @@ deploy to production: ...@@ -72,7 +72,7 @@ deploy to production:
- useradd -lM nginx - useradd -lM nginx
script: script:
- chown nginx:nginx site -R - chown nginx:nginx site -R
- rsync -av --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
when: manual 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