Add a timeout to the transfer.sh upload

This commit is contained in:
Florian Märkl 2019-10-17 07:52:45 +02:00
commit bb6db27f7c
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857

View file

@ -134,7 +134,7 @@ matrix:
- tar -czvf "$DEPLOY_FILE" chiaki
after_success:
- if [ ! -z "$DEPLOY_FILE" ]; then curl --upload-file "$DEPLOY_FILE" "https://transfer.sh/$DEPLOY_FILE"; echo; fi
- if [ ! -z "$DEPLOY_FILE" ]; then curl -m 300 --upload-file "$DEPLOY_FILE" "https://transfer.sh/$DEPLOY_FILE"; echo; fi
deploy:
skip_cleanup: true