diff --git a/site/scripts/deploy.sh b/site/scripts/deploy.sh new file mode 100755 index 0000000..41e2b7d --- /dev/null +++ b/site/scripts/deploy.sh @@ -0,0 +1,9 @@ +#!/bin/sh +USER=www +HOST=core.lxsameer.com +DIR=/home/www/public/serene/ +SITEDIR=$(cd "$(dirname "$0")/.." >/dev/null 2>&1 ; pwd -P) + +hugo && rsync -avz --delete ${SITEDIR}/public/ ${USER}@${HOST}:${DIR} + +exit 0