Files
kiwix-build/appveyor/deploy.sh
Matthieu Gautier 2743f64ef8 Add basic kiwix-desktop build on AppVeyor.
This is somehow a side build system base on cmd scripts.
We should merge it in kiwix-build but... no time for now :/
2018-07-17 11:23:09 +02:00

13 lines
399 B
Bash
Executable File

set -e
NIGHTLY_DATE=$(date +%Y-%m-%d)
NIGHTLY_KIWIX_ARCHIVES_DIR=/c/projects/NIGHTLY_KIWIX_ARCHIVES/${NIGHTLY_DATE}
SSH_KEY=C:\\projects\\kiwix-build\\appveyor\\nightlybot_id_key
#if [[ "$APPVEYOR_SCHEDULED_BUILD" = "True" ]]
#then
scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no \
${NIGHTLY_KIWIX_ARCHIVES_DIR} \
nightlybot@download.kiwix.org:/var/www/download.kiwix.org/nightly
#fi