cachapa-blog/deploy
2023-01-30 21:34:11 -04:00

8 lines
271 B
Bash
Executable file

#!/bin/sh
USER=caparepa
HOST=webdock
DIR=temp/blog.cachapa.xyz/ # the directory where your web site files should go
hugo && rsync -avz --delete public/ ${USER}@${HOST}:~/${DIR} # this will delete everything on the server that's not in the local public folder
exit 0