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