mirror of
https://github.com/nonebot/nonebot2.git
synced 2026-07-24 01:03:16 +00:00
⬆️ Docs: 更新 docusaurus 3.10 (#4121)
This commit is contained in:
@@ -46,7 +46,7 @@ jobs:
|
||||
|
||||
- name: Commit and Push
|
||||
run: |
|
||||
yarn prettier
|
||||
pnpm prettier
|
||||
git config user.name noneflow[bot]
|
||||
git config user.email 129742071+noneflow[bot]@users.noreply.github.com
|
||||
git add .
|
||||
@@ -110,7 +110,7 @@ jobs:
|
||||
|
||||
- name: Build and Publish Doc Package
|
||||
run: |
|
||||
yarn build:plugin --out-dir ../packages/nonebot-plugin-docs/nonebot_plugin_docs/dist
|
||||
pnpm build:plugin --out-dir ../packages/nonebot-plugin-docs/nonebot_plugin_docs/dist
|
||||
cd packages/nonebot-plugin-docs/
|
||||
uv version ${{ steps.version.outputs.VERSION }}
|
||||
uv build
|
||||
|
||||
@@ -39,8 +39,8 @@ jobs:
|
||||
|
||||
- name: Archive Files
|
||||
run: |
|
||||
yarn archive $(uv version --short)
|
||||
yarn prettier
|
||||
pnpm archive $(uv version --short)
|
||||
pnpm prettier
|
||||
|
||||
- name: Push Tag
|
||||
run: |
|
||||
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
uses: ./.github/actions/build-api-doc
|
||||
|
||||
- name: Build Doc
|
||||
run: yarn build
|
||||
run: pnpm build
|
||||
|
||||
- name: Get Branch Name
|
||||
run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV
|
||||
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
uses: ./.github/actions/build-api-doc
|
||||
|
||||
- name: Build Doc
|
||||
run: yarn build
|
||||
run: pnpm build
|
||||
|
||||
- name: Export Context
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user