diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..f1c9177 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,15 @@ +#!/bin/bash +set -x +set -e + +python="/srv/venv/acronomy/bin/python" + +manage="sudo -u acronomy $python manage.py" + +git pull + +$manage scss +$manage collectstatic +$manage migrate + +sudo systemctl reload acronomy.service