deploy: fix var/ permissions after cache:clear
This commit is contained in:
parent
807bcb32b9
commit
039007d462
1 changed files with 1 additions and 0 deletions
|
|
@ -11,5 +11,6 @@ COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev --no-interaction --optimize
|
||||||
sed -i 's|RewriteBase /$|RewriteBase /dd/|' public/.htaccess
|
sed -i 's|RewriteBase /$|RewriteBase /dd/|' public/.htaccess
|
||||||
|
|
||||||
APP_ENV=prod php bin/console cache:clear --env=prod --no-warmup
|
APP_ENV=prod php bin/console cache:clear --env=prod --no-warmup
|
||||||
|
chown -R www-data:www-data var/
|
||||||
|
|
||||||
echo "Deploy fertig."
|
echo "Deploy fertig."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue