Fix screen command syntax in build-deploy workflow
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 43s
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 43s
The command to start the application via `screen` was updated to use single quotes around the entire command, ensuring that all parts of the command are correctly interpreted. This change helps in avoiding potential issues with spaces or special characters in the paths.
This commit is contained in:
parent
dab560fa12
commit
1df87052bd
@ -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 }} > /home/tools/${{ vars.APP_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'
|
Loading…
x
Reference in New Issue
Block a user