diff --git a/.github/workflows/presite.yml b/.github/workflows/presite.yml deleted file mode 100644 index 5e17926c746..00000000000 --- 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 199f0d6f69c..c5c01575909 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