mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user