Merge pull request #266 from kiwix/new_download_zim_server

New Travis config for new openzim download server
This commit is contained in:
Kelson 2018-11-03 17:23:04 +01:00 committed by GitHub
commit e5be404697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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