deploy libraries.
This commit is contained in:
parent
5695095cf4
commit
82e6154b3a
@ -48,10 +48,12 @@ jobs:
|
|||||||
username: ${{ vars.YUYUN_USER }}
|
username: ${{ vars.YUYUN_USER }}
|
||||||
password: ${{ secrets.SERVER_ROOT_PASSWORD }}
|
password: ${{ secrets.SERVER_ROOT_PASSWORD }}
|
||||||
script: |
|
script: |
|
||||||
|
cd /root/Server
|
||||||
pkill -f HttpServer || true
|
pkill -f HttpServer || true
|
||||||
cp /root/Server/HttpServer /root/Server/HttpServer.bak
|
cp /root/Server/HttpServer /root/Server/HttpServer.bak
|
||||||
source /etc/profile
|
source /etc/profile
|
||||||
nohup /root/Server/HttpServer > /dev/null 2>&1 &
|
nohup /root/Server/HttpServer > /dev/null 2>&1 &
|
||||||
|
exit 0
|
||||||
- name: Notify-End
|
- name: Notify-End
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user