futtern/deploy/update.sh
lubiana 57b4e33028
All checks were successful
/ ls (pull_request) Successful in 31s
/ ls (push) Successful in 31s
fix paths in prepare deploy and add local deploy script
2024-06-24 21:19:11 +02:00

8 lines
324 B
Bash
Executable file

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