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