include bash script for deployment and synchronization

This commit is contained in:
Peter 2025-03-15 19:41:48 -04:00
parent f21023d82c
commit 57d252ce48

7
deploy Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
SSHCONFIG=debian11
DIR=/var/www/peterspage
hugo && rsync -avz --delete public/ ${SSHCONFIG}:${DIR}
exit 0