generalise
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
225e597060
commit
95b50f5072
|
@ -12,6 +12,7 @@ steps:
|
|||
from_secret: user
|
||||
SSH_KEY:
|
||||
from_secret: ssh_key
|
||||
SRC: content/*
|
||||
DEST: gemini/content
|
||||
|
||||
commands:
|
||||
|
@ -28,4 +29,4 @@ steps:
|
|||
- echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||
- cat ~/.ssh/config
|
||||
- ssh "$${USER}@$${HOST}" "[[ -d $${DEST} ]] && rm -r $${DEST}"
|
||||
- rsync -rP content/* "$${USER}@$${HOST}:$${DEST}"
|
||||
- rsync -rP $SRC "$${USER}@$${HOST}:$${DEST}"
|
||||
|
|
Loading…
Reference in New Issue