website/deploy.sh

8 lines
172 B
Bash
Raw Normal View History

2023-07-14 19:10:53 +00:00
#!/bin/sh
rsync -rv webpage django:/home/django/personalWebpage/
2023-07-26 10:30:24 +00:00
ssh django "bash -s" <<EOF
2023-07-14 19:10:53 +00:00
cd /home/django/personalWebpage/
2023-07-26 10:30:24 +00:00
python3 manage.py collectstatic --noinput
EOF