diff --git a/upload-files.sh b/upload-files.sh index a1664b14a..5fb9ee8df 100755 --- a/upload-files.sh +++ b/upload-files.sh @@ -2,9 +2,8 @@ echo "${SSH_KEY}" | base64 --decode >/tmp/sftp_rsa chmod 0700 /tmp/sftp_rsa -SCP=scp -o 'StrictHostKeyChecking no' -i /tmp/sftp_rsa -B -r -P $FTP_PORT -SCP_TARGET=$FTP_USER@$FTP_HOST:~/$FTP_PATH -scp -o 'StrictHostKeyChecking no' -i /tmp/sftp_rsa -B -r -P $FTP_PORT ./* +SCP="scp -o 'StrictHostKeyChecking no' -i /tmp/sftp_rsa -B -r -P $FTP_PORT" +SCP_TARGET="$FTP_USER@$FTP_HOST:~/$FTP_PATH" # # Upload CLI