Commit 5ee06c23 authored by David Hrbáč's avatar David Hrbáč


parent 663a390c
Pipeline #1208 failed with stages
in 1 minute and 24 seconds
......@@ -66,7 +66,7 @@ deploy to production:
# WARNING: use only in docker container, if you use it with shell you will overwrite your user's ssh config
- mkdir -p ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
- useradd --disabled-password --gecos '' nginx
- useradd -lM nginx
- chown nginx:nginx site -R
- rsync -av --delete site/ root@"$SSH_HOST_STAGE":/srv/
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment