From bcd583261701b898ca48db2e3822fa06184406c1 Mon Sep 17 00:00:00 2001 From: lubiana Date: Thu, 12 Dec 2024 04:17:28 +0100 Subject: [PATCH] fix rsync command --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 74740fd..e4f34e1 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -12,6 +12,6 @@ chmod 600 ~/.ssh/id_rsa ssh-keyscan -H ${INPUT_REMOTE_HOST} >> ~/.ssh/known_hosts # SCP files to the remote host -sh -c rsync ${INPUT_RSYNC_PARAMETERS} ${INPUT_PATH} ${INPUT_REMOTE_USER}@${INPUT_REMOTE_HOST}:${INPUT_REMOTE_PATH} +sh -c "rsync ${INPUT_RSYNC_PARAMETERS} ${INPUT_PATH} ${INPUT_REMOTE_USER}@${INPUT_REMOTE_HOST}:${INPUT_REMOTE_PATH}" exit 0