polishing .drone.yaml config + rsync to downloads page
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
acf1e3f029
commit
6adb0f5b43
@ -84,7 +84,7 @@ steps:
|
||||
- chmod -R 775 ../_site
|
||||
- groupadd rsync-users
|
||||
- chown -R www-data:rsync-users ../_site
|
||||
- rsync -aXPzrt --omit-dir-times --chown=www-data:rsync-users --chmod=775 -e ssh ../_site/* $SSH_USER@$SSH_HOST:/var/www/sharpetronics.com/html/
|
||||
- rsync -XPzrt --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 -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/
|
||||
- rsync -aXvPzrt--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/
|
||||
|
Loading…
x
Reference in New Issue
Block a user