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