diff --git a/entrypoint.sh b/entrypoint.sh index 6bd7338..0a6a836 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -8,7 +8,7 @@ if [[ "$INPUT_KEY" ]]; then echo -e "${INPUT_KEY}" > key # Creates a file with the key content chmod 400 key # Set the key as Read-Only - rsync -v --stats -e "ssh -p $INPUT_PORT -o StrictHostKeyChecking=no -i key" \ + rsync -a -v --stats -e "ssh -p $INPUT_PORT -o StrictHostKeyChecking=no -i key" \ "$INPUT_ORIGIN" \ "$INPUT_USERNAME"@"$INPUT_HOST":"$INPUT_DESTINATION" fi