Commit 5de15755 authored by 白秀江's avatar 白秀江

更新project-deploy.sh

parent 99c4e06c
......@@ -17,17 +17,17 @@ function deploy() {
COUNT=0
TIMES=0
while [ $COUNT -lt 1 ]; do
echo -e ".\c"
sleep 1
COUNT=`curl -v "$3" | grep "success" | wc -l`
if [ $COUNT -gt 0 ]; then
break
fi
let TIMES=TIMES+1
if [ $TIMES -gt 200 ]; then
exit 1
fi
while [ $COUNT -lt 1 ]; do
echo -e ".\c"
sleep 1
COUNT=`curl -v "$3" | grep "success" | wc -l`
if [ $COUNT -gt 0 ]; then
break
fi
let TIMES=TIMES+1
if [ $TIMES -gt 200 ]; then
exit 1
fi
fi
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment