fix(项目部署): 前端部署脚本代码分支修改为develop

This commit is contained in:
otto 2023-06-09 13:54:55 +08:00
parent 1a7640431d
commit 027e3895ea
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ build_front(){
git clone https://gitlink.org.cn/durian/ruoyi-react-test.git
fi
cd ./ruoyi-react-test
if [ $env == 'test' ]; then
if [ "$env" = 'test' ]; then
echo "切换到develop分支"
git checkout develop
git branch --set-upstream-to=origin/develop develop