diff --git a/deploy b/deploy index 41eb744..3fcb881 100755 --- a/deploy +++ b/deploy @@ -8,7 +8,7 @@ git submodule init git submodule update ../hugo --gc=true --minify -if [ $USER == $USR ]; then +if [ $USER = $USR ]; then rsync -av --delete public/ ~/${DIR} else rsync -avz --delete public/ ${USR}@${HOST}:~/${DIR}