2025-03-11 20:38:45 -06:00
|
|
|
#!/bin/sh
|
2025-03-29 16:02:36 -06:00
|
|
|
USER=devon
|
|
|
|
HOST=192.168.1.145
|
|
|
|
DIR=/var/www/ # the directory where your website files should go
|
2025-03-11 20:38:45 -06:00
|
|
|
|
|
|
|
hugo && rsync -avz --delete public/ ${USER}@${HOST}:${DIR} # this will delete everything on the server that's not in the local public directory
|
|
|
|
|
|
|
|
exit 0
|