build: fix failed to deploy site (#8584)

* build: fix failed to deploy site

* chore: upd
This commit is contained in:
neverland
2021-04-20 20:16:00 +08:00
committed by GitHub
parent 99bd26ac8d
commit 73308ee54f
2 changed files with 10 additions and 9 deletions
+7 -6
View File
@@ -1,16 +1,17 @@
name: Build and Deploy Site
on: [push]
name: Deploy Site
on: push
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Install dependencies
uses: bahmutov/npm-install@v1
- name: Install and Build
run: |
yarn
yarn release:site
- name: Build Site
run: npx --no-install vant-cli build-site
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.1