her.esy.fun/engine/sync.sh
Yann Esposito (Yogsototh) fc5b367863
minimal fixes.
2020-02-16 15:41:44 +01:00

10 lines
236 B
Bash
Executable file

#!/usr/bin/env zsh
cd "$(git rev-parse --show-toplevel)" || exit 1
rootdir=$PWD
echo $rootdir
echo -n "Uploading website"
rsync --progress --partial -avHe ssh $rootdir/_site/ root@esy.fun:/var/www/her.esy.fun/ --delete
echo " [done]"