website/deploy.sh

6 lines
168 B
Bash
Raw Normal View History

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