mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-08 04:43:00 +08:00
fix: 添加忘记的 install
This commit is contained in:
parent
b2845f7867
commit
052018c462
14
.github/actions/build-docs/action.yml
vendored
Normal file
14
.github/actions/build-docs/action.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
name: Build Docs
|
||||||
|
description: Build Docs
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: Setup Node Environment
|
||||||
|
uses: ./.github/actions/setup-node
|
||||||
|
|
||||||
|
- name: Build Frontend
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
yarn install
|
||||||
|
yarn docs:build
|
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -90,11 +90,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node Environment
|
|
||||||
uses: ./.github/actions/setup-node
|
|
||||||
|
|
||||||
- name: Build Docs
|
- name: Build Docs
|
||||||
run: yarn docs:build
|
uses: ./.github/actions/build-docs
|
||||||
|
|
||||||
- name: Deploy to Netlify
|
- name: Deploy to Netlify
|
||||||
uses: nwtgck/actions-netlify@v1
|
uses: nwtgck/actions-netlify@v1
|
||||||
|
5
.github/workflows/website-preview.yml
vendored
5
.github/workflows/website-preview.yml
vendored
@ -15,11 +15,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
||||||
- name: Setup Node Environment
|
|
||||||
uses: ./.github/actions/setup-node
|
|
||||||
|
|
||||||
- name: Build Docs
|
- name: Build Docs
|
||||||
run: yarn docs:build
|
uses: ./.github/actions/build-docs
|
||||||
|
|
||||||
- name: Get Deploy Name
|
- name: Get Deploy Name
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user