mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-01-31 15:41:34 +08:00
👷 fix api docs build error
This commit is contained in:
parent
c037c7a196
commit
534119eaf0
6
.github/workflows/release-plugin-docs.yml
vendored
6
.github/workflows/release-plugin-docs.yml
vendored
@ -34,9 +34,13 @@ jobs:
|
||||
|
||||
- uses: Gr1N/setup-poetry@v4
|
||||
|
||||
- name: Build Docs
|
||||
- name: Install and build
|
||||
run: |
|
||||
poetry install -E all
|
||||
poetry run sphinx-build -M markdown ./docs_build ./build
|
||||
cp -r ./build/markdown/* ./website/docs/api/
|
||||
yarn install
|
||||
yarn prettier
|
||||
yarn build:plugin --out-dir ../packages/nonebot-plugin-docs/nonebot_plugin_docs/dist
|
||||
|
||||
- name: Publish Package
|
||||
|
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@ -53,6 +53,7 @@ jobs:
|
||||
- name: Archive Files
|
||||
run: |
|
||||
yarn install
|
||||
yarn prettier
|
||||
yarn archive $(poetry version -s)
|
||||
|
||||
- name: Push Tag and Release to PyPI
|
||||
|
1
.github/workflows/website-deploy.yml
vendored
1
.github/workflows/website-deploy.yml
vendored
@ -51,6 +51,7 @@ jobs:
|
||||
poetry run sphinx-build -M markdown ./docs_build ./build
|
||||
cp -r ./build/markdown/* ./website/docs/api/
|
||||
yarn install
|
||||
yarn prettier
|
||||
yarn build
|
||||
|
||||
- name: Get Branch Name
|
||||
|
Loading…
x
Reference in New Issue
Block a user