saufen/deploy/update.sh
lubiana 61ff9ff05f
Some checks failed
/ ls (pull_request) Failing after 22s
/ ls (release) Successful in 49s
/ ls (push) Successful in 1m21s
upi
2025-06-15 02:25:20 +02:00

10 lines
391 B
Bash
Executable file

#!/usr/bin/env sh
systemctl --user stop pod-saufen
systemctl --user start pod-saufen
sleep 2
podman exec -it saufen-php /var/www/html/bin/console cache:clear
podman exec -it saufen-php /var/www/html/bin/console cache:warmup
podman exec -it saufen-php /var/www/html/bin/console asset-map:compile
echo 'yes' | podman exec -it saufen-php /var/www/html/bin/console doctrine:migrations:migrate