From c902fa83896cf8ab3823c7d5fe5b30a83826892f Mon Sep 17 00:00:00 2001 From: ktyl Date: Mon, 26 Sep 2022 22:35:14 +0100 Subject: [PATCH] invert dir check --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 36315a3..2084783 100644 --- a/.drone.yml +++ b/.drone.yml @@ -29,5 +29,5 @@ steps: # skip key checking as this runner has never seen the host before - echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config # 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"