build: update depoly site action

This commit is contained in:
chenjiahan 2021-05-03 10:28:05 +08:00
parent 362fc9ff54
commit 22343430b3
2 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -2,8 +2,9 @@ name: Deploy V3 Site
on:
push:
tags:
- 'v3.**'
branches: [dev]
paths:
- 'docs/**'
jobs:
build-and-deploy: