polishing .drone.yaml config + rsync to downloads page
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
oDinZu 2022-05-13 22:03:27 -04:00
parent e321c70502
commit acf1e3f029

View File

@ -84,7 +84,7 @@ steps:
- chmod -R 775 ../_site
- groupadd rsync-users
- chown -R www-data:rsync-users ../_site
- rsync -aXPzrpog -e ssh ../_site/* $SSH_USER@$SSH_HOST:/var/www/sharpetronics.com/html/
- rsync -aXPzrt --omit-dir-times --chown=www-data:rsync-users --chmod=775 -e ssh ../_site/* $SSH_USER@$SSH_HOST:/var/www/sharpetronics.com/html/
# create tar.gz of _site directory for download elsewhere
- tar -czf ../www-data_sharpetronics.tar.gz ../_site/*
@ -92,4 +92,4 @@ steps:
- ls ../ww*
# add download of files from download.sharpetronics.com
- rsync -aXvPzr -e ssh ../www-data_sharpetronics.tar.gz $SSH_USER@SSH_HOST:/var/www/downloads.sharpetronics.com/html/sharpetronics.com/
- rsync -aXvPzrt --omit-dir-times --chown=www-data:www-data --chmod=775 -e ssh ../www-data_sharpetronics.tar.gz $SSH_USER@SSH_HOST:/var/www/downloads.sharpetronics.com/html/sharpetronics.com/