mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Build everything in a container.
Docker containers don't have the SSH_KEY so we need to copy archives and git repo in a directory on the host and launch deploy.sh script from there.
This commit is contained in:
15
travis/upload_base_deps.sh
Executable file
15
travis/upload_base_deps.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
BASE_EXPORT_DIR=$HOME/EXPORT/BASE
|
||||
ls $BASE_EXPORT_DIR
|
||||
|
||||
BASE_ARCHIVES=$(find $BASE_EXPORT_DIR -type f)
|
||||
echo $BASE_ARCHIVES
|
||||
if [[ "x$BASE_ARCHIVES" != "x" ]]
|
||||
then
|
||||
scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no \
|
||||
$BASE_ARCHIVES \
|
||||
ci@tmp.kiwix.org:/data/tmp/ci
|
||||
fi
|
Reference in New Issue
Block a user