This commit is contained in:
parent
714379b5f8
commit
b224288239
@ -87,7 +87,7 @@ steps:
|
||||
- chmod 600 /root/.ssh/known_hosts
|
||||
#- ssh-keyscan -H git.sharpetronics.com > /etc/ssh/ssh_known_hosts 2> /dev/null
|
||||
# sync files to remote server [local _site ] to [remote _site www]
|
||||
- rsync -aXvPzr ../_site --rsh="ssh -i /root/.ssh/id_rsa" $SSH_USER@$SSH_HOST:/var/www/demo.sharpetronics.com
|
||||
- rsync -aXvPzr ../_site --rsh="ssh -i /root/.ssh/id_rsa -o StrictHostKeyChecking=no" $SSH_USER@$SSH_HOST:/var/www/demo.sharpetronics.com/
|
||||
|
||||
# create tar.gz of _site directory for download elsewhere
|
||||
- tar -czf ../www-data.tar.gz ../_site/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user