Update Travis for new download server

This commit is contained in:
Kelson 2018-11-03 14:36:05 +01:00
parent 500e2c1e02
commit d9ef792172
1 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ then
nightlybot@download.kiwix.org:/var/www/download.kiwix.org/nightly nightlybot@download.kiwix.org:/var/www/download.kiwix.org/nightly
scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no \ scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no \
${NIGHTLY_ZIM_ARCHIVES_DIR} \ ${NIGHTLY_ZIM_ARCHIVES_DIR} \
nightlybot@download.kiwix.org:/var/www/download.openzim.org/nightly ci@download.openzim.org:/data/openzim/nightly
elif [[ "x$TRAVIS_TAG" != "x" ]] elif [[ "x$TRAVIS_TAG" != "x" ]]
then then
@ -41,7 +41,7 @@ then
subdir=$(basename $(dirname $archive)) subdir=$(basename $(dirname $archive))
scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no \ scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no \
${archive} \ ${archive} \
nightlybot@download.openzim.org:/var/www/download.openzim.org/release/${subdir} ci@download.openzim.org:/data/openzim/release/${subdir}
done done
fi fi
@ -65,7 +65,7 @@ then
subdir=$(basename $(dirname $archive)) subdir=$(basename $(dirname $archive))
scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no \ scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no \
${archive} \ ${archive} \
nightlybot@download.openzim.org:/var/www/download.openzim.org/release/${subdir} ci@download.openzim.org:/data/openzim/release/${subdir}
done done
fi fi
fi fi