GHA reliability: retry FTP upload #3011

This commit is contained in:
rusefillc 2021-10-09 01:41:17 -04:00
parent 69ac9f7577
commit 6a6dd45867
2 changed files with 3 additions and 3 deletions

View File

@ -11,6 +11,6 @@ if [ ! "$1" ] || [ ! "$2" ] || [ ! "$3" ]; then
exit 0
fi
echo -e "\nUploading plugin body"
echo -e "\nUploading file: $5"
ncftpput -m -R -v -u "$1" -p "$2" "$3" $4 $5
ncftpput -r 999 -m -R -v -u "$1" -p "$2" "$3" $4 $5

View File

@ -8,4 +8,4 @@ fi
echo -e "\nUploading plugin body"
ncftpput -m -R -v -u "$1" -p "$2" "$3" autoupdate build/jar/rusefi_plugin_body.jar
ncftpput -r 999 -m -R -v -u "$1" -p "$2" "$3" autoupdate build/jar/rusefi_plugin_body.jar