make command not block.
Some checks failed
Deploy Docker Images / Build dockerfile and Server deploy (push) Successful in 14s
Deploy / Build (push) Has been cancelled

This commit is contained in:
amass 2024-11-10 21:00:27 +08:00
parent d2173ab9a2
commit 7768f32392

View File

@ -48,13 +48,13 @@ jobs:
username: ${{ vars.YUYUN_USER }}
password: ${{ secrets.SERVER_ROOT_PASSWORD }}
script: |
cd /root/Server;
source /etc/profile;
/root/Server/HttpServer --exit;
sleep 1;
cp /tmp/HttpServer /root/Server/HttpServer;
/root/Server/HttpServer &;
exit 0;
cd /root/Server
source /etc/profile
/root/Server/HttpServer --exit
sleep 1
cp /tmp/HttpServer /root/Server/HttpServer
/root/Server/HttpServer &
exit 0
- name: Notify-End
if: ${{ always() }}
run: |