optimize deploy with down & up
This commit is contained in:
@@ -43,6 +43,7 @@ if [ -z "$1" ]; then
|
||||
if [ "production" == "$env" ];
|
||||
then
|
||||
echo "deploy in production"
|
||||
php artisan down
|
||||
git pull origin production
|
||||
|
||||
composer install
|
||||
@@ -51,6 +52,7 @@ if [ -z "$1" ]; then
|
||||
|
||||
npm install --no-progress
|
||||
npm run prod
|
||||
php artisan up
|
||||
fi
|
||||
|
||||
elif [ "$1" = save-sql ]; then
|
||||
|
||||
Reference in New Issue
Block a user