👷 update ci workflow

This commit is contained in:
yanyongyu
2022-02-14 21:01:39 +08:00
parent 257c49466f
commit 8f38fc5795
7 changed files with 100 additions and 97 deletions

View File

@ -0,0 +1,11 @@
name: Build API Doc
description: Build API Doc
runs:
using: "composite"
steps:
- run: |
poetry run nb-autodoc nonebot
cp -r ./build/nonebot/* ./website/docs/api/
yarn prettier
shell: bash