Fix rsync command
This commit is contained in:
parent
4d738c3bf0
commit
f33889de72
1 changed files with 1 additions and 1 deletions
|
@ -28,4 +28,4 @@ deploy:
|
||||||
- echo "${SSH_HOST_KEY}" > ~/.ssh/known_hosts
|
- echo "${SSH_HOST_KEY}" > ~/.ssh/known_hosts
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
|
- 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}"
|
||||||
|
|
Reference in a new issue