mirror of
https://github.com/youzan/vant.git
synced 2026-01-14 06:03:45 +08:00
chore: update action for deploy website (#11083)
This commit is contained in:
15
.github/workflows/deploy-v4-site.yml
vendored
15
.github/workflows/deploy-v4-site.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user