Blog/scripts/deploy.sh

13 lines
180 B
Bash
Executable File

#!/bin/sh
IN=./public/
DIR=Sites/iiiypuk.me/www/
hugo && rsync -avz --delete \
--exclude 'ytcg' \
--exclude 'chola' \
--exclude 'y' \
${IN} kvm5:~/${DIR}
exit 0