Fix sleep command syntax
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 53s
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 53s
Correct the syntax of the `sleep` command from `sleep(20)` to `sleep 20` to ensure the script runs as expected.
This commit is contained in:
parent
6f030087bd
commit
a62ef5dad4
@ -71,5 +71,5 @@ jobs:
|
|||||||
screen -ls
|
screen -ls
|
||||||
screen -dmS ${{ vars.APP_NAME }} base -c 'nohup /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 2>&1 &'
|
screen -dmS ${{ vars.APP_NAME }} base -c 'nohup /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 2>&1 &'
|
||||||
screen -ls
|
screen -ls
|
||||||
sleep(20)
|
sleep 20
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user