From 4a005114c7580121282343094506a4a96fcec258 Mon Sep 17 00:00:00 2001 From: Andyguo5891 Date: Thu, 20 Mar 2025 15:59:48 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=A1=88=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/index.md | 1 - docs/quick_start.md | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 7f41a92a..c6877616 100644 --- a/docs/index.md +++ b/docs/index.md @@ -45,7 +45,6 @@ - [MaxKB 应用案例:无锡市数据局](https://mp.weixin.qq.com/s/enfUFLevvL_La74PQ0kIXw) - [MaxKB 应用案例:中核西仪研究院-西仪睿答](https://mp.weixin.qq.com/s/CbKr4mev8qahKLAtV6Dxdg) - [MaxKB 应用案例:南京中医药大学](https://mp.weixin.qq.com/s/WUmAKYbZjp3272HIecpRFA) - - [MaxKB 应用案例:西北电力设计院-AI数字助理Memex](https://mp.weixin.qq.com/s/ezHFdB7C7AVL9MTtDwYGSA) - [MaxKB 应用案例:西安国际医院中心医院-国医小助](https://mp.weixin.qq.com/s/DSOUvwrQrxbqQxKBilTCFQ) - [MaxKB 应用案例:华莱士智能AI客服助手上线啦!](https://www.bilibili.com/video/BV1hQtVeXEBL) - [MaxKB 应用案例:把医疗行业知识转化为知识库问答助手!](https://www.bilibili.com/video/BV157wme9EgB) diff --git a/docs/quick_start.md b/docs/quick_start.md index 992a1562..76fbd485 100644 --- a/docs/quick_start.md +++ b/docs/quick_start.md @@ -38,7 +38,7 @@ !!! Abstract "" 上传文档要求: - * 文本文件::Markdown、TXT、PDF、DOCX、HTML、XLS、XLSX、CSV、ZIP; + * 文本文件:Markdown、TXT、PDF、DOCX、HTML、XLS、XLSX、CSV、ZIP; * 表格格式:Excel、CSV; * QA 问答对:Excel、CSV; * 每次最多上传 50 个文件; From 5897364ca0b7429b2644397cff0c18303f2c3987 Mon Sep 17 00:00:00 2001 From: liqiang-fit2cloud Date: Tue, 15 Jul 2025 15:42:08 +0800 Subject: [PATCH 2/2] Delete .github/workflows directory --- .github/workflows/compile-and-deploy.yml | 42 ------------------------ 1 file changed, 42 deletions(-) delete mode 100644 .github/workflows/compile-and-deploy.yml diff --git a/.github/workflows/compile-and-deploy.yml b/.github/workflows/compile-and-deploy.yml deleted file mode 100644 index 041a03e4..00000000 --- a/.github/workflows/compile-and-deploy.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: 编译并部署 - -on: - workflow_dispatch: - -jobs: - compile-and-deploy: - runs-on: ubuntu-latest - steps: - - name: 检出 - uses: actions/checkout@v4 - - name: 编译 - run: | - sudo apt-get update - sudo apt-get install -y --no-install-recommends zip - docker run --rm -v ${PWD}:/docs registry-hk.fit2cloud.com/public/mkdocs-material:latest build - zip -r -q -9 site.zip site - ls -la site.zip - - name: 上传 - uses: appleboy/scp-action@v0.1.7 - with: - host: ${{ secrets.MAXKB_DOCS_HOST }} - username: ${{ secrets.MAXKB_DOCS_HOST_USERNAME }} - port: 22 - key: ${{ secrets.MAXKB_DOCS_HOST_KEY }} - source: "site.zip" - target: /tmp - - name: 部署 - uses: appleboy/ssh-action@v1.0.3 - with: - host: ${{ secrets.MAXKB_DOCS_HOST }} - username: ${{ secrets.MAXKB_DOCS_HOST_USERNAME }} - key: ${{ secrets.MAXKB_DOCS_HOST_KEY }} - port: 22 - script: | - cd /tmp - rm -rf site - unzip site.zip - rm -rf /opt/maxkb/docs/* - mv /tmp/site/* /opt/maxkb/docs - /opt/nginx/bin/reload-nginx.sh - rm -rf /tmp/site*