1
0
Fork 0
mirror of https://github.com/sbrl/PolyFeed.git synced 2024-12-25 10:55:01 +00:00

Let's see why it's not uploading

This commit is contained in:
Starbeamrainbowlabs 2019-08-07 20:40:13 +01:00
parent 03b3ad3c52
commit 60faba6252
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

5
build
View file

@ -106,6 +106,7 @@ task_archive() {
_upload_deb() { _upload_deb() {
filename="${1}"; filename="${1}";
echo "Found ${filename}";
sftp -i "${SSH_KEY_PATH}" -P "${deploy_ssh_port}" -o PasswordAuthentication=no "${deploy_ssh_user}@${deploy_ssh_host}" << SFTPCOMMANDS sftp -i "${SSH_KEY_PATH}" -P "${deploy_ssh_port}" -o PasswordAuthentication=no "${deploy_ssh_user}@${deploy_ssh_host}" << SFTPCOMMANDS
put ${filename} ${deploy_root_dir} put ${filename} ${deploy_root_dir}
bye bye
@ -115,10 +116,10 @@ SFTPCOMMANDS
} }
task_upload-release() { task_upload-release() {
task_begin "Uploading release .deb file"; task_begin "Uploading release .deb file(s)";
find . -maxdepth 1 -type f -name "*.deb" -print0 | xargs --null -n1 -I{} bash -c '_upload_deb "{}"';
find . -maxdepth 1 -type f -name "*.deb" | xargs -n1 -I{} bash -c '_upload_deb "{}"';
task_end $?; task_end $?;
} }