From 85cc7738338640ae66a8391f5665afa162ffea31 Mon Sep 17 00:00:00 2001 From: Harry Chen Date: Sun, 22 Dec 2024 12:22:14 +0800 Subject: [PATCH] docs: prepare for v4 docs --- .github/workflows/presite.yml | 29 ----------------------------- .github/workflows/site.yml | 6 ------ 2 files changed, 35 deletions(-) delete mode 100644 .github/workflows/presite.yml diff --git a/.github/workflows/presite.yml b/.github/workflows/presite.yml deleted file mode 100644 index 5e17926c746e..000000000000 --- a/.github/workflows/presite.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Check site dependencies before deploy - -on: - push: - branches-ignore: - - main - paths: - - site/package.json - pull_request: - branches-ignore: - - main - paths: - - site/package.json - -jobs: - check: - runs-on: ubuntu-latest - strategy: - matrix: - node-version: [ 16.x ] - steps: - - uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - - run: npm install - - run: npm run build --if-present - - run: cd site && npm install && npm run build diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 199f0d6f69c9..c5c01575909d 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -28,12 +28,6 @@ jobs: - run: npm run build --if-present - name: action-zip uses: montudor/action-zip@v1.0.0 - - uses: redkubes/docusaurus-deploy-action@master - with: - source-folder: site - git-user: czy88840616 - git-password: ${{ secrets.GH_TOKEN }} - deployment-branch: gh-pages - name: Zip output run: zip -r build/document_archive.zip docs i18n blog versioned_docs versioned_sidebars working-directory: site