deploy: set COMPOSER_ALLOW_SUPERUSER=1 for root installs

This commit is contained in:
Simon Kühn 2026-04-29 15:55:00 +02:00
parent a1b7d13921
commit 57fdc81278

View file

@ -5,7 +5,7 @@ set -e
cd "$(dirname "$0")"
git pull
composer install --no-dev --no-interaction --optimize-autoloader --ignore-platform-reqs
COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev --no-interaction --optimize-autoloader --ignore-platform-reqs
APP_ENV=prod php bin/console cache:clear --env=prod --no-warmup
echo "Deploy fertig."