devops各步骤使用中文
This commit is contained in:
parent
77fe8be4a6
commit
f9277e9443
@ -56,5 +56,5 @@ jobs:
|
||||
password: ${{ secrets.SERVER_PASSWORD }}
|
||||
port: ${{ secrets.SERVER_PORT }}
|
||||
script: |
|
||||
"if screen -list | grep -q '${{ var.APP_NAME }}'; then screen -S ${{ var.APP_NAME }} -X quit && echo 'Screen session PetGuardian stopped.'; else echo 'No screen session named PetGuardian found.'; fi"
|
||||
screen -dmS PetGuardian /usr/local/java/jdk1.8.0_202/bin/java -jar ${{ var.APP_NAME }}-0.0.1-SNAPSHOT.jar
|
||||
"if screen -list | grep -q '${{ var.APP_NAME }}'; then screen -S ${{ var.APP_NAME }} -X quit && echo 'Screen session ${{ var.APP_NAME }} stopped.'; else echo 'No screen session named ${{ var.APP_NAME }} found.'; fi"
|
||||
screen -dmS ${{ var.APP_NAME }} /usr/local/java/jdk1.8.0_202/bin/java -jar ${{ var.APP_NAME }}-0.0.1-SNAPSHOT.jar
|
||||
|
Loading…
x
Reference in New Issue
Block a user