diff --git a/.github/workflows/link-check.yml b/.github/workflows/link-check.yml new file mode 100644 index 0000000000..5aa1dce41e --- /dev/null +++ b/.github/workflows/link-check.yml @@ -0,0 +1,16 @@ +name: Link check + +on: + workflow_dispatch: + + - name: Link Check on Chinese docs + id: lychee + uses: lycheeverse/lychee-action@v1.8.0 + with: + args: --offline --no-progress 'i18n/zh/docusaurus-plugin-content-docs/**/*.md' + + - name: Link Check on English docs + id: lychee + uses: lycheeverse/lychee-action@v1.8.0 + with: + args: --offline --no-progress 'versioned_docs/**/*.md' diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index 920b8e764a..0231376cf4 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -100,12 +100,6 @@ jobs: _IGNORE/add_chinese_sidebar.sh _IGNORE/add_english_sidebar.sh - - name: Link Check on Chinese docs - id: lychee - uses: lycheeverse/lychee-action@v1.8.0 - with: - args: --offline --no-progress 'i18n/zh/docusaurus-plugin-content-docs/version-3.1/**/*.md' - - name: Install dependencies run: yarn install --frozen-lockfile - name: Build website