invert dir check
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ktyl 2022-09-26 22:35:14 +01:00
parent f592fae2fd
commit c902fa8389

View File

@ -29,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 -v "$${USER}@$${HOST}" "[[ ! -d ~/gemini/content ]] || rm -r ~/gemini/content" - ssh "$${USER}@$${HOST}" "[[ ! -d ~/gemini/content ]] || rm -r ~/gemini/content"
- rsync -rP content "$${USER}@$${HOST}:gemini" - rsync -rP content "$${USER}@$${HOST}:gemini"