github actions: don't exit with failure status on publishing

Revert to old behavior: if connection has been dropped, do not exit
with failure status.
This commit is contained in:
Leonid Pliushch 2021-10-07 16:43:29 +03:00
parent 8c7b2298f5
commit 938f0e4da6
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 2 additions and 1 deletions

View File

@ -288,7 +288,8 @@ jobs:
echo "[$(date +%H:%M:%S)] Repository has been updated successfully."
elif [ "$http_status_code" = "000" ]; then
echo "[$(date +%H:%M:%S)] Error: server/proxy has dropped connection."
exit 1
# Ignore - nothing can be done with that unless we change proxy.
#exit 1
else
echo "[$(date +%H:%M:%S)] Error: got http_status_code == '$http_status_code'"
exit 1