deploy: fix RewriteBase /dd/ for Alias deployment

This commit is contained in:
Simon Kühn 2026-04-29 15:58:13 +02:00
parent f0857c1bd9
commit 807bcb32b9

View file

@ -6,6 +6,10 @@ cd "$(dirname "$0")"
git pull
COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev --no-interaction --optimize-autoloader --ignore-platform-reqs
# Alias-Deployment: RewriteBase auf /dd/ setzen
sed -i 's|RewriteBase /$|RewriteBase /dd/|' public/.htaccess
APP_ENV=prod php bin/console cache:clear --env=prod --no-warmup
echo "Deploy fertig."