From 40d1c97f6b2a0700d401efee25a95f47db7b8563 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sat, 25 Feb 2023 20:39:46 +0800 Subject: [PATCH] chore(CI): add clean-exclude --- .github/workflows/deploy-v4-site.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-v4-site.yml b/.github/workflows/deploy-v4-site.yml index 7233695a5..ed3069901 100644 --- a/.github/workflows/deploy-v4-site.yml +++ b/.github/workflows/deploy-v4-site.yml @@ -36,7 +36,22 @@ jobs: with: branch: gh-pages folder: packages/vant/site-dist - clean: false + clean: true + clean-exclude: | + 1.x/* + 1.x/**/* + next/* + next/**/* + v1/* + v1/**/* + v2/* + v2/**/* + v3/* + v3/**/* + v4/* + v4/**/* + vant-use/* + vant-use/**/* - name: Deploy for GitHub 🚀 uses: JamesIves/github-pages-deploy-action@v4.4.0