mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 05:42:44 +08:00
build: move deploy-v2-site to 2.x branch (#8752)
This commit is contained in:
parent
c45c6aeed2
commit
10daea86c5
29
.github/workflows/deploy-v2-site.yml
vendored
29
.github/workflows/deploy-v2-site.yml
vendored
@ -1,29 +0,0 @@
|
||||
name: Deploy V2 Site
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [2.x]
|
||||
paths:
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout 🛎️
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: '2.x'
|
||||
|
||||
- name: Install dependencies
|
||||
uses: bahmutov/npm-install@v1
|
||||
|
||||
- name: Build Site
|
||||
run: npx --no-install vant-cli build-site
|
||||
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@4.1.1
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: site
|
||||
clean: false
|
Loading…
x
Reference in New Issue
Block a user