mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
[TRAVIS] Add a script to deploy archives on download.kiwix.org/nightly
This commit is contained in:
13
travis/deploy.sh
Executable file
13
travis/deploy.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
BASE_DIR="BUILD_${BUILD_TARGET}_static/INSTALL"
|
||||
if [ "${BUILD_TARGET}" = "win32" ]; then
|
||||
ARCHIVE_OPTION="--zip"
|
||||
else
|
||||
ARCHIVE_OPTION="--tar"
|
||||
fi
|
||||
./kiwix-deploy.py ${BASE_DIR} ${ARCHIVE_OPTION} \
|
||||
--deploy \
|
||||
--ssh_private_key=travis/travisci_builder_id_key \
|
||||
--server=nightlybot@download.kiwix.org \
|
||||
--base_path=/var/www/download.kiwix.org/nightly
|
Reference in New Issue
Block a user