Adding archive flag
This commit is contained in:
parent
0e0f32aa68
commit
5ff3f80e6f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user