mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore: update action for deploy website (#11083)
This commit is contained in:
parent
febb0a8a1b
commit
070431bef2
15
.github/workflows/deploy-v4-site.yml
vendored
15
.github/workflows/deploy-v4-site.yml
vendored
@ -31,10 +31,19 @@ jobs:
|
|||||||
- name: Build Site
|
- name: Build Site
|
||||||
run: npm run build:site
|
run: npm run build:site
|
||||||
|
|
||||||
- name: Deploy 🚀
|
- name: Deploy for Gitee 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.1
|
uses: JamesIves/github-pages-deploy-action@4.4.0
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
folder: packages/vant/site-dist
|
folder: packages/vant/site-dist
|
||||||
target-folder: v4
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user