[-] Remove deploy script

pull/6/head
Azalea 2023-12-21 01:28:46 -05:00
parent 0fda25b482
commit 0ac1a4c088
1 changed files with 0 additions and 14 deletions

View File

@ -1,14 +0,0 @@
#!/usr/bin/env bash
# This is a deploy script for this java program
# 1. Build the jar
rm -rf build/libs
JAVA_HOME="/usr/lib/jvm/java-17-openjdk" ./gradlew build
# 2. Copy the jar to the server
jar_name=$(ls -v build/libs/aqua-*.jar | grep -v "plain" | head -n 1)
scp "$jar_name" lux:/root/aqua/aqua.jar
# 3. Restart the service
ssh lux "systemctl restart aqua"