From 9e8fd5d0695f86ef024ae3f972d1372f08bf5469 Mon Sep 17 00:00:00 2001 From: NIANIANKNIA Date: Mon, 23 Dec 2024 23:10:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9action=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-docs.yml | 17 ----------------- src/README.md | 2 +- src/about.md | 3 --- 3 files changed, 1 insertion(+), 21 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 0c2b7a04..841c8ed0 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -44,20 +44,3 @@ jobs: # 部署文档 branch: gh-pages folder: src/.vuepress/dist - - - name: Push to NiaServer-Docs-CN - run: | - git config --global user.name 'GitHub Actions' - git config --global user.email 'actions@github.com' - git clone https://github.com/Nia-Server/NiaServer-Docs-CN.git - cd NiaServer-Docs-CN - git checkout gh-pages || git checkout --orphan gh-pages - git rm -rf . - cp -r ../src/.vuepress/dist/* . - git add . - echo "docs.mcnia.top" > CNAME # 直接在这里创建CNAME文件 - git add CNAME - git commit -m "Update docs" - git push --force "https://${{ secrets.PUSH_REPO_TOKEN }}@github.com/Nia-Server/NiaServer-Docs-CN.git" gh-pages - env: - GITHUB_TOKEN: ${{ secrets.PUSH_REPO_TOKEN }} diff --git a/src/README.md b/src/README.md index 426e1fd8..d82b8b91 100644 --- a/src/README.md +++ b/src/README.md @@ -60,7 +60,7 @@ highlights: - title: NIAHttpBOT icon: server details: 基于http实现对文件进行读写操作等操作,赋予了原版script-api更多的能力 - link: /dev/Http-BOT/ + link: /dev/Http-Bot/ - title: 完善的开发文档 icon: file diff --git a/src/about.md b/src/about.md index 65249ab7..41848c7d 100644 --- a/src/about.md +++ b/src/about.md @@ -8,15 +8,12 @@ title: 关于本网站 ## 📇网站构建状态 -### 主站(docs.mcnia.com) - ![status](https://img.shields.io/github/actions/workflow/status/Nia-Server/NiaServer-Docs/deploy-docs.yml?style=for-the-badge) ![GitHub last commit](https://img.shields.io/github/last-commit/Nia-Server/NiaServer-Docs?style=for-the-badge) ## 🧵网站基本信息 -国内用户请访问镜像网站 [docs.mcnia.top](http://docs.mcnia.top) 网站基于github-page部署,使用[VuePress](https://v2.vuepress.vuejs.org/)构建