From 44d3849379a7ced085831c17161a244da24ee724 Mon Sep 17 00:00:00 2001 From: app-harry Date: Sun, 27 Oct 2024 21:00:28 +0800 Subject: [PATCH] update deploy.sh --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 2e0aa0e..420bc62 100755 --- a/deploy.sh +++ b/deploy.sh @@ -31,7 +31,7 @@ flush() { for item in ./* .[^.]*; do # skip ./_output and CNAME - if [[ "$item" != "./_output" && "$item" != "./CNAME" ]]; then + if [[ "$item" != "./_output" && "$item" != "./.git" && "$item" != "./.github" && "$item" != "./CNAME" ]]; then rm -rf "$item" fi done