pyfedi/deploy.sh

10 lines
216 B
Bash
Executable file

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