From 3d41ac66a15e57a0b8ab7baa500acca6698324a0 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sat, 24 Sep 2022 20:37:22 +0800 Subject: [PATCH] chore: update deploy v3 site --- .github/workflows/deploy-v3-site.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-v3-site.yml b/.github/workflows/deploy-v3-site.yml index 3f0324f91..da2af49e8 100644 --- a/.github/workflows/deploy-v3-site.yml +++ b/.github/workflows/deploy-v3-site.yml @@ -15,7 +15,7 @@ jobs: - name: Checkout 🛎️ uses: actions/checkout@v2 with: - ref: 'dev' + ref: '3.x' - name: Install pnpm run: npm i pnpm@7 -g @@ -32,8 +32,18 @@ jobs: run: npm run build:site - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.1.1 + uses: JamesIves/github-pages-deploy-action@v4.4.0 with: branch: gh-pages folder: packages/vant/site-dist clean: false + + - name: Deploy for GitHub 🚀 + uses: JamesIves/github-pages-deploy-action@v4.4.0 + with: + branch: main + folder: packages/vant/site-dist + token: ${{ secrets.VANT_UI_TOKEN }} + repository-name: vant-ui/vant-ui.github.io + target-folder: vant + clean: false