5 # Deploy tar-files and checksums to the firehol website
7 if [ ! -f /tmp/ssh-key-loaded ]
9 echo "No ssh key decrypted - skipping deployment to website"
13 case "$TRAVIS_BRANCH" in
18 echo "Not on master or stable-* branch - skipping deployment to website"
23 if [ "$TRAVIS_PULL_REQUEST" = "true" ]
25 echo "Building pull request - skipping deployment to website"
29 if [ "$TRAVIS_TAG" != "" ]
31 echo "Building tag - skipping deployment to website"
37 echo "Building non-gcc version - skipping deployment to website"
41 ssh-keyscan -H firehol.org >> ~/.ssh/known_hosts
42 ssh travis@firehol.org mkdir -p uploads/netdata/$TRAVIS_BRANCH/
43 scp -p *.tar.* travis@firehol.org:uploads/netdata/$TRAVIS_BRANCH/
44 ssh travis@firehol.org touch uploads/netdata/$TRAVIS_BRANCH/complete.txt