futtern/deploy/update.sh

9 lines
324 B
Bash
Raw Permalink Normal View History

2024-06-23 06:49:44 +00:00
#!/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