Making sure we can upload sub folders
This commit is contained in:
parent
b8768ecdd6
commit
e15f2ff903
@ -12,7 +12,7 @@ else
|
||||
# If the keyis empty, it uses the password for the SCP
|
||||
echo "Trying SCP process with password"
|
||||
# Runs the SCP command
|
||||
sshpass -p $INPUT_PASSWORD scp -P $INPUT_PORT -o StrictHostKeyChecking=no $INPUT_ORIGIN "$INPUT_USERNAME"@"$INPUT_HOST":"$INPUT_DESTINATION"
|
||||
sshpass -p $INPUT_PASSWORD scp -P $INPUT_PORT -o StrictHostKeyChecking=no -r $INPUT_ORIGIN "$INPUT_USERNAME"@"$INPUT_HOST":"$INPUT_DESTINATION"
|
||||
fi
|
||||
time=$(date)
|
||||
echo "-----------------------------"
|
||||
|
Loading…
Reference in New Issue
Block a user