deploy libraries.
Some checks failed
Deploy Docker Images / Build dockerfile and Server deploy (push) Successful in 16s
Deploy / Build (push) Failing after 4m36s

This commit is contained in:
amass 2024-11-09 22:16:04 +08:00
parent 5695095cf4
commit 82e6154b3a

View File

@ -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: |