made deploy scritp

This commit is contained in:
Alie 2023-07-14 21:10:53 +02:00
parent 3eb3dfca48
commit 3d96482380
1 changed files with 6 additions and 0 deletions

6
deploy.sh Executable file
View File

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