From d835a326839abb180880326a79e7b33b8afecca3 Mon Sep 17 00:00:00 2001 From: Snowykami Date: Fri, 7 Mar 2025 16:49:25 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E9=83=A8=E7=BD=B2=E5=B7=A5=E4=BD=9C=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-docs.yml | 58 ------------------------------- 1 file changed, 58 deletions(-) delete mode 100755 .github/workflows/deploy-docs.yml diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml deleted file mode 100755 index 0c5510a0..00000000 --- a/.github/workflows/deploy-docs.yml +++ /dev/null @@ -1,58 +0,0 @@ - -name: Deploy VitePress site to Pages - -on: - push: - branches: [main] - workflow_dispatch: -permissions: - contents: write - -concurrency: - group: pages - cancel-in-progress: false - -jobs: - # 构建工作 - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 # 如果未启用 lastUpdated,则不需要 - - name: Setup Python - uses: actions/setup-python@v2 - with: - python-version: '3.11' - - - name: Setup API markdown - run: |- - python -m pip install litedoc - litedoc liteyuki -o docs/zh/dev/api -l zh-Hans -cd class -fd func -md func -vd var -bu https://github.com/LiteyukiStudio/LiteyukiBot/tree/main/liteyuki/ - litedoc liteyuki -o docs/en/dev/api -l en -cd class -fd func -md func -vd var -bu https://github.com/LiteyukiStudio/LiteyukiBot/tree/main/liteyuki/ - - - name: 安装 pnpm - uses: pnpm/action-setup@v2 - with: - run_install: true - version: 8 - - - name: 设置 Node.js - run: |- - cd docs - pnpm install - - - name: 构建文档 - env: - NODE_OPTIONS: --max_old_space_size=8192 - run: |- - cd docs - pnpm run docs:build - > .vitepress/dist/.nojekyll - - - name: 部署文档 - uses: JamesIves/github-pages-deploy-action@v4 - with: - branch: docs - folder: docs/.vitepress/dist