From e7e2f43ea1eb211dee6f9efe723d1edb99492c79 Mon Sep 17 00:00:00 2001 From: weiweiw <14335254+weiweiw22@user.noreply.gitee.com> Date: Mon, 5 Aug 2024 15:13:01 +0800 Subject: [PATCH] update deploy.sh --- scripts/deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index b5d3526..6832a39 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -54,6 +54,7 @@ for jar_with_args in "${jars[@]}"; do fi done +cd $app_workspace || { echo "Failed to change directory to $app_workspace"; exit 1; } # Iterate over the JAR files array for jar in "${jars[@]}"; do echo "Starting $jar"