bizcochito.onion/deploy.sh

8 lines
172 B
Bash
Executable File

#!/bin/sh
rsync -rv webpage django:/home/django/personalWebpage/
ssh django "bash -s" <<EOF
cd /home/django/personalWebpage/
python3 manage.py collectstatic --noinput
EOF