mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
build: update depoly site action
This commit is contained in:
parent
362fc9ff54
commit
22343430b3
7
.github/workflows/deploy-v2-site.yml
vendored
7
.github/workflows/deploy-v2-site.yml
vendored
@ -2,8 +2,9 @@ name: Deploy V2 Site
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
branches: [2.x]
|
||||||
- 'v2.**'
|
paths:
|
||||||
|
- 'docs/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
@ -13,7 +14,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: '2.x'
|
ref: '2.x'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
uses: bahmutov/npm-install@v1
|
uses: bahmutov/npm-install@v1
|
||||||
|
|
||||||
|
5
.github/workflows/deploy-v3-site.yml
vendored
5
.github/workflows/deploy-v3-site.yml
vendored
@ -2,8 +2,9 @@ name: Deploy V3 Site
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
branches: [dev]
|
||||||
- 'v3.**'
|
paths:
|
||||||
|
- 'docs/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user