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