Commit 8f525a34 authored by 温海元's avatar 温海元

add git pull

parent 3cb9a2f8
......@@ -15,11 +15,6 @@ else
echo "项目已存在"
cd ./${project_name}
echo "cd ./${project_name}"
echo "git pull"
git pull
fi
echo "开始部署项目"
......@@ -27,6 +22,7 @@ echo "开始部署项目"
if [ "$project_name" = "qa-platform-ui" ];then
echo "这是一个UI项目"
cd ${target_dir}
git pull
npm install
npm run build
echo "重启下nginx"
......
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