dudi/deploy.sh

11 lines
311 B
Bash
Executable file

#!/bin/bash
# Auf miniweb ausführen: bash /var/www/tracker/deploy.sh
set -e
cd "$(dirname "$0")"
git pull
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
echo "Deploy fertig."