fix deploy script: strcmp works like so
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2020-03-10 04:08:52 +01:00
parent 0b35630798
commit 52a288bc96
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

2
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}