polishing .drone.yaml config + rsync to downloads page
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
2dcff2335a
commit
e288cb6bcb
@ -82,6 +82,7 @@ steps:
|
|||||||
|
|
||||||
# sync files to remote server [local _site ] to [remote _site www] while preserving permissions.
|
# sync files to remote server [local _site ] to [remote _site www] while preserving permissions.
|
||||||
- chmod -R 775 ../_site
|
- chmod -R 775 ../_site
|
||||||
|
- groupadd rsync-users
|
||||||
- chown -R www-data:rsync-users ../_site
|
- chown -R www-data:rsync-users ../_site
|
||||||
- rsync -aXPzrpog --timeout -e ssh ../_site/* $SSH_USER@$SSH_HOST:/var/www/sharpetronics.com/html/
|
- rsync -aXPzrpog --timeout -e ssh ../_site/* $SSH_USER@$SSH_HOST:/var/www/sharpetronics.com/html/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user