fix deploy script: strcmp works like so
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0b35630798
commit
52a288bc96
2
deploy
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}
|
||||
|
Loading…
Reference in New Issue
Block a user