hugo-deploy/hugo-deploy.sh

9 lines
149 B
Bash
Raw Normal View History

2022-03-14 01:20:06 +00:00
#!/bin/sh
USER=remote-user
HOST=remote-host.tld
DIR=/remote/deployment/directory
hugo && rsync -Pavz -delete public/ ${USER}@${HOST}:${DIR}
exit 0