Commit 1d2f1149 authored by 温海元's avatar 温海元

add ali

parent 737eeff8
...@@ -19,7 +19,8 @@ fi ...@@ -19,7 +19,8 @@ fi
echo "开始部署项目" echo "开始部署项目"
if [ "$project_name" = "qa-platform-ui" ];then if echo "$project_name" | grep -q -E '\ui$'
then
echo "这是一个UI项目" echo "这是一个UI项目"
git pull git pull
npm install npm install
...@@ -31,6 +32,7 @@ else ...@@ -31,6 +32,7 @@ else
echo "这是JAVA项目" echo "这是JAVA项目"
git pull git pull
mvn clean package -Ptest -Dmaven.test.skip=true mvn clean package -Ptest -Dmaven.test.skip=true
echo "supervisorctl restart $project_name"
supervisorctl restart $project_name supervisorctl restart $project_name
echo "done" echo "done"
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