Add drone fix 4/?: use Drone volume in rsync step
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3ff5ce4dec
commit
db8a050bdf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user