dmzconf/docs/dmzrs/updatewebsite.sh

8 lines
191 B
Bash
Raw Permalink Normal View History

2024-01-05 10:38:37 +00:00
#!/bin/bash
cd /root/website
/usr/bin/git restore .
/usr/bin/git pull
/usr/bin/python3 prep.py
/usr/bin/python3 build_pages.py
/usr/bin/rsync -a --delete /root/website/site/* /var/www/dmzrs/