optimize deploy with down & up

This commit is contained in:
2020-06-18 23:08:03 +02:00
parent 2779789558
commit 4197d310f2

View File

@@ -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