You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
318 B
10 lines
318 B
#!/usr/bin/env bash
|
|
|
|
./drone/prepare-delivery.sh
|
|
|
|
./gradlew :shadowJar
|
|
|
|
echo "making delivery onto '$USER@$IP:$DIR'"
|
|
scp -o "StrictHostKeyChecking no" "build/libs/server-all.jar" "drone/deploy.sh" "drone/start.sh" "$USER@$IP:$DIR/"
|
|
echo "chmod 700 $DIR/*; $DIR/deploy.sh" | ssh -o "StrictHostKeyChecking no" $USER@$IP
|