From d94077ed47e62b71e2a16740d3a643582f642690 Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 8 Sep 2017 13:13:27 +0200 Subject: Ignore, not delete .menu.html files on deploy --- bin/deploy.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/deploy.sh b/bin/deploy.sh index 4a5d451..4467cd0 100755 --- a/bin/deploy.sh +++ b/bin/deploy.sh @@ -1,9 +1,10 @@ #!/bin/bash LOCALPATH=$1 DEPLOYPATH=`cat config/deploy-path` +RSYNCOPTS='-urpP --delete --exclude=.menu.html' if [ -s config/deploy-pass ] then - sshpass -f config/deploy-pass rsync -urpP --delete $LOCALPATH/ $DEPLOYPATH + sshpass -f config/deploy-pass rsync $RSYNCOPTS $LOCALPATH/ $DEPLOYPATH else - rsync -urpP --delete $LOCALPATH/ $DEPLOYPATH + rsync $RSYNCOPTS $LOCALPATH/ $DEPLOYPATH fi -- cgit v1.2.3