drone ci rsync test
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
oDinZu 2022-05-09 19:59:12 -04:00
parent 9493615faf
commit f92246f332

View File

@ -67,7 +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]
- rsync -a ../_site/* $SSH_USER@$SSH_HOST:/var/www/demo.sharpetronics.com/
- rsync -av ../_site/* $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/*