fix rsync command

This commit is contained in:
Jonas 2024-12-12 04:17:28 +01:00
parent eb0a4fb7b8
commit bcd5832617
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk

View file

@ -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