diff --git a/deploy.sh b/deploy.sh index 322aca6..2af7d9d 100755 --- a/deploy.sh +++ b/deploy.sh @@ -10,6 +10,7 @@ COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev --no-interaction --optimize # Alias-Deployment: RewriteBase auf /dd/ setzen sed -i 's|RewriteBase /$|RewriteBase /dd/|' public/.htaccess +APP_ENV=prod php bin/console doctrine:migrations:migrate --no-interaction --env=prod APP_ENV=prod php bin/console cache:clear --env=prod --no-warmup chown -R www-data:www-data var/