build(CI): sync vant deploy-site (#4226)

This commit is contained in:
nemo-shen 2021-05-24 09:46:04 +08:00 committed by GitHub
parent 96c44f383d
commit f5370bc54a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,9 @@ name: Deploy Site
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
branches: [dev]
paths:
- 'docs/**'
jobs:
build-and-deploy:
@ -11,7 +12,9 @@ jobs:
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
ref: 'dev'
- name: Install dependencies
uses: bahmutov/npm-install@v1