techWebsite/deploy.sh
Gabe Venberg 5bfdffb4b9 added deploy script
edited dates to dates the articles were originally written.
2023-06-22 16:28:06 -05:00

13 lines
212 B
Bash
Executable file

#!/bin/sh
set -e
USER=root
HOST=10.10.1.5
DIR=/srv/gabevenberg
hugo
rsync -rvz --delete public/ ${USER}@${HOST}:${DIR} # this will delete everything on the server that's not in the local public folder
exit 0