Commit 1edc2a7d authored by David Hrbáč's avatar David Hrbáč

Silent rsync

parent 87d345d4
Pipeline #1508 passed with stages
in 1 minute and 36 seconds
......@@ -51,7 +51,7 @@ deploy to stage:
- useradd -lM nginx
script:
- 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:
environment: production
......@@ -72,7 +72,7 @@ deploy to production:
- useradd -lM nginx
script:
- 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:
- master
when: manual
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment