make command not block.
This commit is contained in:
parent
d2173ab9a2
commit
7768f32392
@ -48,13 +48,13 @@ jobs:
|
|||||||
username: ${{ vars.YUYUN_USER }}
|
username: ${{ vars.YUYUN_USER }}
|
||||||
password: ${{ secrets.SERVER_ROOT_PASSWORD }}
|
password: ${{ secrets.SERVER_ROOT_PASSWORD }}
|
||||||
script: |
|
script: |
|
||||||
cd /root/Server;
|
cd /root/Server
|
||||||
source /etc/profile;
|
source /etc/profile
|
||||||
/root/Server/HttpServer --exit;
|
/root/Server/HttpServer --exit
|
||||||
sleep 1;
|
sleep 1
|
||||||
cp /tmp/HttpServer /root/Server/HttpServer;
|
cp /tmp/HttpServer /root/Server/HttpServer
|
||||||
/root/Server/HttpServer &;
|
/root/Server/HttpServer &
|
||||||
exit 0;
|
exit 0
|
||||||
- name: Notify-End
|
- name: Notify-End
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user