master
pan 4 years ago
parent 896cf490ba
commit 76115cf820
  1. 2
      shell/updateRisk

@ -16,7 +16,7 @@ function run(){
git clone git@gogs.kirito.cool:panqihua/$1.git git clone git@gogs.kirito.cool:panqihua/$1.git
fi fi
cd $1 && git reset --hard && git pull && yarn && chmod +x run.sh && killNode cd $1 && git reset --hard && git pull && yarn && chmod +x run.sh && killNode
curl http://webhooks.kirito.cool:3000/server curl http://webhooks.kirito.cool:3000/finsh?name=$1
} }
nohup run $1 > $1.log & nohup run $1 > $1.log &

Loading…
Cancel
Save