diff --git a/drone/deliver.sh b/drone/deliver.sh index c2a33e8..0e14627 100755 --- a/drone/deliver.sh +++ b/drone/deliver.sh @@ -40,7 +40,7 @@ esac #install cordova -apk add npm +(apk add npm || apt install npm) &> /dev/null npm install -g cordova cordova platform add "$TYPE" @@ -52,6 +52,6 @@ curl https://codefirst.iut.uca.fr/git/Tactique-basket/Backend/raw/branch/dev/dro source /tmp/prepare-deliver.sh SERV_DIR="$DIR/application/$TYPE" -echo "making delivery onto '$USER@$IP:$DIR/application'" +echo "making delivery onto '$USER@$IP:$SERV_DIR'" ls $OUT_DIR -scp -o "StrictHostKeyChecking no" -r "$OUT_DIR" "$USER@$IP:$DIR/application" \ No newline at end of file +scp -o "StrictHostKeyChecking no" -r "$OUT_DIR" "$USER@$IP:$SERV_DIR" \ No newline at end of file