Update screen session name variable
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 32s
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 32s
Change the screen session name from `JAR_NAME` to `APP_NAME` in the build-deploy workflow to ensure consistency with the application naming convention.
This commit is contained in:
parent
bae94f9f73
commit
0f5a67079e
@ -56,7 +56,7 @@ jobs:
|
|||||||
password: ${{ secrets.SERVER_PASSWORD }}
|
password: ${{ secrets.SERVER_PASSWORD }}
|
||||||
port: ${{ secrets.SERVER_PORT }}
|
port: ${{ secrets.SERVER_PORT }}
|
||||||
script: |
|
script: |
|
||||||
screen -list | grep -q "${{ vars.JAR_NAME }}" && screen -S ${{ vars.JAR_NAME }} -X quit
|
screen -list | grep -q "${{ vars.APP_NAME }}" && screen -S ${{ vars.APP_NAME }} -X quit
|
||||||
# 使用新版jar包启动应用
|
# 使用新版jar包启动应用
|
||||||
- name: 使用新版jar包启动应用
|
- name: 使用新版jar包启动应用
|
||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@master
|
||||||
|
Loading…
x
Reference in New Issue
Block a user