cachapa-blog/deploy
Captain Arepa 4d956cf26c add theme
2023-01-30 18:39:25 -04:00

8 lines
266 B
Bash

#!/bin/sh
USER=caparepa
HOST=webdock
DIR=temp/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