From 070431bef26f3d7885ea89472ebe9ea985acb846 Mon Sep 17 00:00:00 2001 From: neverland Date: Sat, 24 Sep 2022 11:42:31 +0800 Subject: [PATCH] chore: update action for deploy website (#11083) --- .github/workflows/deploy-v4-site.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-v4-site.yml b/.github/workflows/deploy-v4-site.yml index 3cac9c586..5804ad2ee 100644 --- a/.github/workflows/deploy-v4-site.yml +++ b/.github/workflows/deploy-v4-site.yml @@ -31,10 +31,19 @@ jobs: - name: Build Site run: npm run build:site - - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.1.1 + - name: Deploy for Gitee 🚀 + uses: JamesIves/github-pages-deploy-action@4.4.0 with: branch: gh-pages folder: packages/vant/site-dist target-folder: v4 - clean: false + + - name: Deploy for GitHub 🚀 + uses: JamesIves/github-pages-deploy-action@4.4.0 + with: + branch: gh-pages + folder: packages/vant/site-dist + token: ${{ secrets.VANT_UI_TOKEN }} + repository-name: vant-ui/vant-ui.github.io + branch: main + target-folder: vant/v4