From 3d77f57d317463c54ff7b0d13d8d78c5aa350ddb Mon Sep 17 00:00:00 2001 From: lilingfengdev Date: Sat, 21 Dec 2024 15:05:45 +0800 Subject: [PATCH] remove workflow --- .github/workflows/wiki-deploy.yml | 60 ------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 .github/workflows/wiki-deploy.yml diff --git a/.github/workflows/wiki-deploy.yml b/.github/workflows/wiki-deploy.yml deleted file mode 100644 index 80eb278ee92..00000000000 --- a/.github/workflows/wiki-deploy.yml +++ /dev/null @@ -1,60 +0,0 @@ -name: Wiki Deploy - -# 触发条件 -on: - push: - branches: [ 'main' ] - paths: - - 'docs/**' - - 'docs-java/**' - - 'docs-bedrock/**' - - 'package.json' - -# 设置权限 -permissions: - contents: write - - -# 环境变量 -env: - BASE_URL: NitWikit - -# 任务 -jobs: - deploy: - runs-on: ubuntu-latest - steps: - # 拉取代码 - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: "setup pnpm" - uses: "pnpm/action-setup@v4" - - - name: "setup node" - uses: "actions/setup-node@v4" - with: - node-version: 20 - - # 安装 npm 包 - - name: Install - run: pnpm install - - # MarkdownLint 检查 - - name: "MarkdownLint Check" - uses: "DavidAnson/markdownlint-cli2-action@v17" - with: - fix: true - globs: 'docs*/**/*.md' - - # 构建 - - name: Build - run: pnpm run build - - # 部署 - - name: Deploy - uses: JamesIves/github-pages-deploy-action@v4 - with: - folder: build