...
|
...
|
@@ -19,14 +19,14 @@ function getProjectCode() |
|
|
rm -rf .htaccess
|
|
|
rm -rf .user.ini
|
|
|
cd ..
|
|
|
git clone -b dev $gitHttp $projectName
|
|
|
git clone $gitHttp $projectName
|
|
|
cd $projectName
|
|
|
composer install --ignore-platform-reqs
|
|
|
# .env文件处理
|
|
|
cp .env.example ./.env
|
|
|
else
|
|
|
git checkout .
|
|
|
git pull origin dev
|
|
|
git pull
|
|
|
composer update --ignore-platform-reqs
|
|
|
fi
|
|
|
}
|
...
|
...
|
|