From cb2ea1edde93570957db63d871520a124bbf32b2 Mon Sep 17 00:00:00 2001 From: Adora Laura Kalb Date: Fri, 12 Jul 2024 12:52:10 +0200 Subject: [PATCH] change rsync port command --- .woodpecker/deploy-rsync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/deploy-rsync.yml b/.woodpecker/deploy-rsync.yml index e49a82a..0533cfd 100644 --- a/.woodpecker/deploy-rsync.yml +++ b/.woodpecker/deploy-rsync.yml @@ -29,4 +29,4 @@ steps: - echo "$RSYNC_SSHKEY" > $HOME/.ssh/id_ed25519 - chmod 0600 $HOME/.ssh/id_ed25519 - ssh-keyscan -t ed25519 -p $RSYNC_TARGET_PORT $RSYNC_TARGET_SERVER >> $HOME/.ssh/known_hosts - - rsync -avh --port=$RSYNC_TARGET_PORT --delete ./public/ $RSYNC_TARGET_USER@$RSYNC_TARGET_SERVER:$TARGET_PATH + - rsync -avh -e "ssh -p $RSYNC_TARGET_PORT" --delete ./public/ $RSYNC_TARGET_USER@$RSYNC_TARGET_SERVER:$TARGET_PATH