|
|
|
@ -34,6 +34,7 @@ case "$TYPE" in
|
|
|
|
|
"browser")
|
|
|
|
|
OUT_DIR="platforms/browser/www/*"
|
|
|
|
|
SERV_DIR="/server/apache/TBasket/"
|
|
|
|
|
tree -d || ls
|
|
|
|
|
;;
|
|
|
|
|
"electron")
|
|
|
|
|
OUT_DIR="platforms/electron/build"
|
|
|
|
@ -54,4 +55,7 @@ echo "delivering outputs on server"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "making delivery onto '$USER@$IP:$SERV_DIR'"
|
|
|
|
|
scp -o "StrictHostKeyChecking no" -r "$OUT_DIR" "$USER@$IP:$SERV_DIR"
|
|
|
|
|
rsync -avz -I \
|
|
|
|
|
--rsync-path="mkdir -p \"$SERV_DIR\" && rsync" \
|
|
|
|
|
-e "ssh -o StrictHostKeyChecking=no" \
|
|
|
|
|
--delete "$OUT_DIR" "$USER@$IP"
|