build: deploy v4 site

This commit is contained in:
chenjiahan 2022-02-21 12:22:46 +08:00
parent c206642d2d
commit 06199faf2c

View File

@ -2,7 +2,7 @@ name: Deploy V3 Site
on: on:
push: push:
branches: [dev] branches: [next]
paths: paths:
- 'packages/vant/docs/**' - 'packages/vant/docs/**'
@ -13,7 +13,7 @@ jobs:
- name: Checkout 🛎️ - name: Checkout 🛎️
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
ref: 'dev' ref: 'next'
- name: Install pnpm - name: Install pnpm
uses: pnpm/action-setup@v2.0.1 uses: pnpm/action-setup@v2.0.1
@ -36,4 +36,5 @@ jobs:
with: with:
branch: gh-pages branch: gh-pages
folder: packages/vant/site-dist folder: packages/vant/site-dist
target-folder: v4
clean: false clean: false