diff --git a/shell/updateRisk b/shell/updateRisk index 394593c..207ebaa 100644 --- a/shell/updateRisk +++ b/shell/updateRisk @@ -16,7 +16,9 @@ function run(){ git clone git@gogs.kirito.cool:panqihua/$1.git fi cd $1 && git reset --hard && git pull && yarn && chmod +x run.sh && killNode - curl http://127.0.0.1:3000/finsh?name=$1 + url="http://127.0.0.1:3000/finsh?name=$1" + echo "成功回调地址:$url" + curl $url } run $1