|
|
@ -47,12 +47,11 @@ cordova platform add "$TYPE"
|
|
|
|
cordova build "$TYPE" $OPTIONS
|
|
|
|
cordova build "$TYPE" $OPTIONS
|
|
|
|
echo "delivering outputs on server"
|
|
|
|
echo "delivering outputs on server"
|
|
|
|
|
|
|
|
|
|
|
|
tree -d platforms
|
|
|
|
|
|
|
|
#prepare ssh / scp commands
|
|
|
|
#prepare ssh / scp commands
|
|
|
|
curl https://codefirst.iut.uca.fr/git/Tactique-basket/Backend/raw/branch/dev/drone/prepare-deliver.sh > /tmp/prepare-deliver.sh
|
|
|
|
curl https://codefirst.iut.uca.fr/git/Tactique-basket/Backend/raw/branch/dev/drone/prepare-deliver.sh > /tmp/prepare-deliver.sh
|
|
|
|
source /tmp/prepare-deliver.sh
|
|
|
|
source /tmp/prepare-deliver.sh
|
|
|
|
SERV_DIR="$DIR/application/$TYPE"
|
|
|
|
SERV_DIR="$DIR/application/$TYPE"
|
|
|
|
|
|
|
|
|
|
|
|
echo "making delivery onto '$USER@$IP:$SERV_DIR'"
|
|
|
|
echo "making delivery onto '$USER@$IP:$SERV_DIR'"
|
|
|
|
ls $OUT_DIR
|
|
|
|
tree $OUT_DIR
|
|
|
|
scp -o "StrictHostKeyChecking no" -r "$OUT_DIR/" "$USER@$IP:$SERV_DIR"
|
|
|
|
scp -o "StrictHostKeyChecking no" -r "$OUT_DIR/" "$USER@$IP:$SERV_DIR"
|