Update upload script to new server user "ci".

On new server, the user `nightlybot` as been renamed to `ci`.
The path of the data used by the download server has also changed.
This commit is contained in:
Matthieu Gautier
2018-11-30 10:43:41 +01:00
parent b2a6ca7950
commit 827c963895
4 changed files with 8 additions and 8 deletions

View File

@ -14,7 +14,7 @@ if [[ "$TRAVIS_EVENT_TYPE" = "cron" ]]
then
scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no \
${NIGHTLY_KIWIX_ARCHIVES_DIR} \
nightlybot@download.kiwix.org:/var/www/download.kiwix.org/nightly
ci@download.kiwix.org:/data/download/nightly
scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no \
${NIGHTLY_ZIM_ARCHIVES_DIR} \
ci@download.openzim.org:/data/openzim/nightly
@ -29,7 +29,7 @@ then
subdir=$(basename $(dirname $archive))
scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no \
${archive} \
nightlybot@download.kiwix.org:/var/www/download.kiwix.org/release/${subdir}
ci@download.kiwix.org:/data/download/release/${subdir}
done
fi
@ -53,7 +53,7 @@ then
subdir=$(basename $(dirname $archive))
scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no \
${archive} \
nightlybot@download.kiwix.org:/var/www/download.kiwix.org/release/${subdir}
ci@download.kiwix.org:/data/download/release/${subdir}
done
fi