Merge pull request #1973 from tannewt/travis_deploy_keep_alive

Add keep alive to Travis deploy
This commit is contained in:
sommersoft 2019-06-26 17:07:43 -05:00 committed by GitHub
commit f77abbd960
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,16 @@ addons:
- $(ls -d1 bin/*/*/* | tr "\n" ":")
target_paths: /
# Some deploy jobs take over 10 minutes so use this keep alive hack to make sure Travis doesn't kill us.
before_deploy: |
function keep_alive() {
while true; do
echo -en "\a"
sleep 5
done
}
keep_alive &
deploy:
provider: releases
api_key: