jar build is now made after tests to economize execution time
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build was killed Details

production
Override-6 2 years ago
parent e7dee2ba1b
commit 5a7c3ce935

@ -11,6 +11,7 @@ steps:
path: ./build
commands:
- ./gradlew :test
- ./gradlew :shadowJar
- name: Deploy
image: override6/tbasket-backend:latest

@ -3,7 +3,6 @@
chmod 700 ./drone/prepare-deliver.sh
source ./drone/prepare-deliver.sh
./gradlew :shadowJar
echo "making delivery onto '$USER@$IP:$DIR/backend'"
scp -o "StrictHostKeyChecking no" "build/libs/server-all.jar" "drone/deploy.sh" "drone/start.sh" "$USER@$IP:$DIR/backend"