pyfedi/deploy.sh
2024-02-08 08:39:08 +13:00

9 lines
192 B
Bash
Executable file

#!/bin/bash
date > updated.txt
sudo systemctl stop celery.service
git pull
source venv/bin/activate
flask db upgrade
sudo systemctl start celery.service
sudo systemctl restart pyfedi.service