#!/bin/sh
USER=dotyaoverlord
HOST=dotya.ml
DIR=public/
git submodule init
git submodule update
hugo --gc=true && rsync -avz --delete public/ ${USER}@${HOST}:~/${DIR}
exit 0