deploy: fix RewriteBase /dd/ for Alias deployment
This commit is contained in:
parent
f0857c1bd9
commit
807bcb32b9
1 changed files with 4 additions and 0 deletions
|
|
@ -6,6 +6,10 @@ cd "$(dirname "$0")"
|
||||||
|
|
||||||
git pull
|
git pull
|
||||||
COMPOSER_ALLOW_SUPERUSER=1 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
|
||||||
|
|
||||||
|
# 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
|
APP_ENV=prod php bin/console cache:clear --env=prod --no-warmup
|
||||||
|
|
||||||
echo "Deploy fertig."
|
echo "Deploy fertig."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue