updated laradev git-branch script

This commit is contained in:
Actaeus Curabitur 2022-07-28 10:37:07 -05:00
parent 3c3190c7c0
commit 12004cae44

View file

@ -32,7 +32,8 @@ echo " <a href='$branch/public/'>$branch<br/>" >> /sites/{{project}}/index.php
cd "$branch"
git fetch --all
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"
php artisan migrate
cd "/sites/{{project}}"