From 7d2984b5e7e5316006f78f0e41ea88bf5bd24a41 Mon Sep 17 00:00:00 2001 From: hxuanyu <2252193204@qq.com> Date: Mon, 4 Nov 2024 18:43:54 +0800 Subject: [PATCH] Fix screen session name and log path Corrected the screen session naming to avoid issues with spaces and updated the log file path for better organization. --- .gitea/workflows/build-deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build-deploy.yaml b/.gitea/workflows/build-deploy.yaml index 0798cd9..9d97da2 100644 --- a/.gitea/workflows/build-deploy.yaml +++ b/.gitea/workflows/build-deploy.yaml @@ -68,4 +68,4 @@ jobs: script: | rm -f /home/tools/${{ vars.APP_NAME }}/${{ vars.JAR_NAME }} mv /home/tools/${{ vars.APP_NAME }}/package/target/${{ vars.JAR_NAME }} /home/tools/${{ vars.APP_NAME }}/${{ vars.JAR_NAME }} - screen -dmS '${{ vars.APP_NAME }} /usr/local/java/jdk1.8.0_202/bin/java -jar /home/tools/${{ vars.APP_NAME }}/${{ vars.JAR_NAME }}>apprun.log' + screen -dmS ${{ vars.APP_NAME }} /usr/local/java/jdk1.8.0_202/bin/java -jar /home/tools/${{ vars.APP_NAME }}/${{ vars.JAR_NAME }}>/home/tools/${{ vars.APP_NAME }}/apprun.log