diff --git a/build b/build index e0e7634..2fdef19 100755 --- a/build +++ b/build @@ -163,9 +163,10 @@ task_deploy() { task_end 1 "Error: Can't find the SSH key as the environment variable SSH_KEY_PATH isn't set."; fi + # TODO: If we experience issues, we need to somehow figure out how to recursively delete the contents of the directory before uploading. We may have to install lftp and use that instead sftp -i "${SSH_KEY_PATH}" -P "${deploy_ssh_port}" -o PasswordAuthentication=no "${deploy_ssh_user}@${deploy_ssh_host}" << SFTPCOMMANDS -put -r ${build_output_folder} Linux101/; -bye; +put -r ${build_output_folder} Linux101/ +bye SFTPCOMMANDS task_end $?;