ci: install rsync
This commit is contained in:
parent
8955f9173a
commit
af39230253
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ deploy:
|
||||||
- chmod 700 ~/.ssh
|
- chmod 700 ~/.ssh
|
||||||
- echo "$SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts
|
- echo "$SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts
|
||||||
- chmod 644 ~/.ssh/known_hosts
|
- chmod 644 ~/.ssh/known_hosts
|
||||||
|
- apt-get install rsync -y
|
||||||
script:
|
script:
|
||||||
- rsync -avz --rsh="ssh -p 17295" ./public/ janw-name@janw.name:/var/www/new.janw.name/
|
- rsync -avz --rsh="ssh -p 17295" ./public/ janw-name@janw.name:/var/www/new.janw.name/
|
||||||
only:
|
only:
|
||||||
|
|
Loading…
Reference in a new issue