From f592fae2fd3d3779d236edb3fa2a18ed91264932 Mon Sep 17 00:00:00 2001 From: ktyl Date: Mon, 26 Sep 2022 22:23:02 +0100 Subject: [PATCH] verbose mode --- .drone.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 275ac26..36315a3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,6 @@ steps: SSH_KEY: from_secret: ssh_key SRC: content - DEST: gemini/content commands: # install stuff @@ -30,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 "$${USER}@$${HOST}" "[[ -d $${DEST} ]] && rm -r $${DEST}" - - rsync -rP content/* "$${USER}@$${HOST}:$${DEST}" + - ssh -v "$${USER}@$${HOST}" "[[ ! -d ~/gemini/content ]] || rm -r ~/gemini/content" + - rsync -rP content "$${USER}@$${HOST}:gemini"