Skip to content
Snippets Groups Projects
Commit f33889de authored by rinpatch's avatar rinpatch
Browse files

Fix rsync command

parent 4d738c3b
No related branches found
No related tags found
No related merge requests found
Pipeline #20827 passed
......@@ -28,4 +28,4 @@ deploy:
- echo "${SSH_HOST_KEY}" > ~/.ssh/known_hosts
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- rsync -hrvz --delete -e "ssh -p ${SSH_PORT}" site "${SSH_USER_HOST_LOCATION}/${BRANCH}"
- rsync -hrvz --delete -e "ssh -p ${SSH_PORT}" site/* "${SSH_USER_HOST_LOCATION}/${BRANCH}"
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