Merge branch 'master' into 'production'

optimize deploy with down & up

See merge request Romulus21/portal!54
This commit is contained in:
Romain Delanoë
2020-06-18 21:09:01 +00:00

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