From da4c08643b56ccc8fb6cb770bd1924c27741d042 Mon Sep 17 00:00:00 2001 From: DanRoscigno Date: Tue, 17 Oct 2023 15:34:53 -0400 Subject: [PATCH] move to separate workflow Signed-off-by: DanRoscigno --- .github/workflows/link-check.yml | 16 ++++++++++++++++ .github/workflows/test-deploy.yml | 6 ------ 2 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/link-check.yml 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