From 603c436f4e20cbfefb6bb147325a1f97d9eff978 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 23 Nov 2023 19:33:01 +0800 Subject: [PATCH] Update commit.tpl --- plugins/gitea/hook/commit.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gitea/hook/commit.tpl b/plugins/gitea/hook/commit.tpl index cf2ee4513..8bbfbdd58 100755 --- a/plugins/gitea/hook/commit.tpl +++ b/plugins/gitea/hook/commit.tpl @@ -34,7 +34,7 @@ if [ ! -d $WEB_PATH ];then rsync -vauP --delete --exclude=".*" $GIT_PROJECT_DIR/ $WEB_PATH else if [ -f $GIT_PROJECT_DIR/exclude.list ];then - rsync -vauP --delete --exclude-from="$GIT_PROJECT_DIR/exclude.list" $GIT_PROJECT_DIR/ $WEB_PATH + rsync -vauP --exclude-from="$GIT_PROJECT_DIR/exclude.list" $GIT_PROJECT_DIR/ $WEB_PATH else rsync -vauP --exclude=".*" $GIT_PROJECT_DIR/ $WEB_PATH fi