master
pan 4 years ago
parent 771c2e2512
commit 896cf490ba
  1. 1
      shell/updateRisk

@ -16,6 +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
} }
nohup run $1 > $1.log & nohup run $1 > $1.log &

Loading…
Cancel
Save