bizcochito.onion/deploy.sh

6 lines
168 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