Add drone fix 4/?: use Drone volume in rsync step
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danila Fedorin 2020-02-29 22:32:42 -08:00
parent 3ff5ce4dec
commit db8a050bdf

View File

@ -27,7 +27,7 @@ steps:
- echo "$CUSTOM_KEY" | ssh-add -
- mkdir -p ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
- rsync -rv -e "ssh -p 22" /output blog-live@danilafe.com:/var/www/blog-live --checksum
- rsync -rv -e "ssh -p 22" /live-output blog-live@danilafe.com:/var/www/blog-live --checksum
environment:
CUSTOM_KEY:
from_secret: live_ssh_key