commit 9e4925a85d9bc6020267392887824ebba3938ce4 Author: GNUxeava Date: Mon Mar 14 06:50:06 2022 +0530 initial commit diff --git a/hugo-deploy.sh b/hugo-deploy.sh new file mode 100644 index 0000000..e7e9644 --- /dev/null +++ b/hugo-deploy.sh @@ -0,0 +1,8 @@ +#!/bin/sh +USER=remote-user +HOST=remote-host.tld +DIR=/remote/deployment/directory + +hugo && rsync -Pavz -delete public/ ${USER}@${HOST}:${DIR} + +exit 0