diff --git a/JWT/build.gradle b/JWT/build.gradle index 3fab0dc..3458ea1 100644 --- a/JWT/build.gradle +++ b/JWT/build.gradle @@ -51,6 +51,6 @@ tasks.named('test') { } // 배포용 태스크 -tasks.register('jarDir') { - println "${project.buildDir}/libs/${project.name}-${version}" +tasks.register('jarPath') { + println "${project.buildDir}/libs/${project.name}-${version}.jar" } diff --git a/JWT/deploy/runner.sh b/JWT/deploy/runner.sh new file mode 100644 index 0000000..a414ceb --- /dev/null +++ b/JWT/deploy/runner.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +nohup java -jar $1 --spring.profiles.active=dev 2>&1 &