verbose mode
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
978cfac12e
commit
4cbfc8cea5
|
@ -13,7 +13,6 @@ steps:
|
||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
SRC: content
|
SRC: content
|
||||||
DEST: gemini/content
|
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
# install stuff
|
# install stuff
|
||||||
|
@ -30,5 +29,5 @@ steps:
|
||||||
# skip key checking as this runner has never seen the host before
|
# skip key checking as this runner has never seen the host before
|
||||||
- echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
- echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||||
# run operations on the remote host
|
# run operations on the remote host
|
||||||
- ssh "$${USER}@$${HOST}" "[[ -d $${DEST} ]] && rm -r $${DEST}"
|
- ssh -v "$${USER}@$${HOST}" "[[ -d gemini/content ]] && rm -r gemini/content"
|
||||||
- rsync -rP content/* "$${USER}@$${HOST}:$${DEST}"
|
- rsync -rP content/* "$${USER}@$${HOST}:gemini/content"
|
||||||
|
|
Loading…
Reference in New Issue