mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
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.
12 lines
184 B
Bash
Executable File
12 lines
184 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
cd $HOME
|
|
|
|
tar -czf fail_log_${PLATFORM}.tar.gz BUILD_${PLATFORM}
|
|
|
|
scp -vrp -i ${SSH_KEY} \
|
|
fail_log_${PLATFORM}.tar.gz \
|
|
ci@tmp.kiwix.org:/data/tmp/ci
|