mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 16:04:04 +00:00
build: update depoly site action
This commit is contained in:
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:
|
||||
push:
|
||||
tags:
|
||||
- 'v2.**'
|
||||
branches: [2.x]
|
||||
paths:
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
@@ -13,7 +14,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: '2.x'
|
||||
|
||||
|
||||
- name: Install dependencies
|
||||
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:
|
||||
push:
|
||||
tags:
|
||||
- 'v3.**'
|
||||
branches: [dev]
|
||||
paths:
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
|
Reference in New Issue
Block a user