deploy: set COMPOSER_ALLOW_SUPERUSER=1 for root installs
This commit is contained in:
parent
a1b7d13921
commit
57fdc81278
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ set -e
|
||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
git pull
|
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
|
APP_ENV=prod php bin/console cache:clear --env=prod --no-warmup
|
||||||
|
|
||||||
echo "Deploy fertig."
|
echo "Deploy fertig."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue