Delete files on target
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
7b003e67aa
commit
e06364dcf1
|
@ -20,7 +20,7 @@ steps:
|
|||
chmod 0700 ~/.ssh/config
|
||||
echo "$SSH_KEY" > ~/.ssh/key
|
||||
chmod 0600 ~/.ssh/key
|
||||
- rsync -rP -e "ssh -p $PORT -i ~/.ssh/key" public/ "$USERNAME@$HOST:$DEPLOY_PATH"
|
||||
- rsync -rP --delete -e "ssh -p $PORT -i ~/.ssh/key" public/ "$USERNAME@$HOST:$DEPLOY_PATH"
|
||||
environment:
|
||||
SSH_KEY:
|
||||
from_secret: ssh_key
|
||||
|
|
Loading…
Reference in a new issue