2026-04-29 13:40:57 +00:00
|
|
|
#!/bin/bash
|
2026-04-29 13:53:49 +00:00
|
|
|
# Auf miniweb ausführen: bash /var/www/tracker/deploy.sh
|
2026-04-29 13:40:57 +00:00
|
|
|
set -e
|
|
|
|
|
|
2026-04-29 13:53:49 +00:00
|
|
|
cd "$(dirname "$0")"
|
2026-04-29 13:40:57 +00:00
|
|
|
|
2026-04-29 13:53:49 +00:00
|
|
|
git pull
|
|
|
|
|
composer install --no-dev --no-interaction --optimize-autoloader --ignore-platform-reqs
|
|
|
|
|
APP_ENV=prod php bin/console cache:clear --env=prod --no-warmup
|
2026-04-29 13:40:57 +00:00
|
|
|
|
|
|
|
|
echo "Deploy fertig."
|