homepage/deploy
2020-02-28 01:40:32 +01:00

12 lines
179 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