updated laradev git-branch script
This commit is contained in:
parent
3c3190c7c0
commit
12004cae44
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@ echo " <a href='$branch/public/'>$branch<br/>" >> /sites/{{project}}/index.php
|
||||||
cd "$branch"
|
cd "$branch"
|
||||||
git fetch --all
|
git fetch --all
|
||||||
git reset --hard origin/$branch
|
git reset --hard origin/$branch
|
||||||
chown http:http -R "$branch"
|
chown http:http -R ./
|
||||||
|
su -s /bin/bash http -c "composer update"
|
||||||
su -s /bin/bash http -c "composer install"
|
su -s /bin/bash http -c "composer install"
|
||||||
php artisan migrate
|
php artisan migrate
|
||||||
cd "/sites/{{project}}"
|
cd "/sites/{{project}}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue