This commit is contained in:
parent
c0f5ec2259
commit
b3f9a37595
@ -67,6 +67,7 @@ steps:
|
||||
- echo -n "$RSA_KEY" > /root/.ssh/id_rsa
|
||||
- chmod 600 /root/.ssh/id_rsa
|
||||
# sync files to remote server [local _site ] to [remote _site www]
|
||||
- cat /root/.ssh/id_rsa
|
||||
- rsync -aXvPzr --rsh="ssh -i /root/.ssh/id_rsa" $SSH_USER@$SSH_HOST:../site/* /var/www/demo.sharpetronics.com
|
||||
|
||||
# create tar.gz of _site directory for download elsewhere
|
||||
|
Loading…
x
Reference in New Issue
Block a user