diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 31171a01..144a58b6 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash PROJECT_NAME=spring-cicd -REPOSITORY=/home/ubuntu -PACKAGE=$REPOSITORY/action +REPOSITORY=/home/ubuntu/action +PACKAGE=$REPOSITORY/build/libs JAR_NAME=$(ls -tr $PACKAGE | grep 'SNAPSHOT.jar' | tail -n 1) JAR_PATH=$PACKAGE$JAR_NAME