From 6e3ac016a5f80a91b1e72072050e390b87fe073a Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sat, 10 Oct 2020 04:44:26 +0800 Subject: [PATCH] init --- shell/updateRisk | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/shell/updateRisk b/shell/updateRisk index 529eb5e..2262091 100644 --- a/shell/updateRisk +++ b/shell/updateRisk @@ -15,20 +15,18 @@ function run(){ then git clone git@gogs.kirito.cool:panqihua/$1.git isUpdate=1 - echo "创建仓库代码" else isUpdate=0 - echo "更新仓库代码" fi cd $1 && git reset --hard && git pull && yarn && chmod +x run.sh && killNode if [ $isUpdate -eq 0 ] then - echo "更新仓库代码" + echo "更新$1仓库代码" url="http://127.0.0.1:3000/finsh?name=$1" echo "成功回调地址:$url" curl $url else - echo "创建仓库代码" + echo "克隆$1仓库代码" fi }