diff options
Diffstat (limited to 'bin/deploy.sh')
-rwxr-xr-x | bin/deploy.sh | 5 |
1 files changed, 3 insertions, 2 deletions
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 |