homepage/deploy

12 lines
176 B
Bash
Executable File

#!/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