Skip to content

Commit 5c8eb9a

Browse files
authored
Merge pull request #206 from StarRocks/workflow
move checks
2 parents 2827835 + 58ef81b commit 5c8eb9a

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/ci-doc-checker.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,12 @@ jobs:
118118
globs: ${{ steps.changed-files.outputs.all_changed_files }}
119119
separator: ","
120120

121+
docusaurus-build:
122+
runs-on: ubuntu-latest
123+
needs: markdownlint # Only runs if markdownlint passes!
124+
steps:
125+
121126
- name: docusaurus-mdx-checker
122-
if: always()
123127
run: |
124128
npx docusaurus-mdx-checker -c docs
125129
@@ -131,11 +135,6 @@ jobs:
131135
args: >
132136
--config docs/lychee.toml
133137
--offline "docs/**/*.md"
134-
135-
docusaurus-build:
136-
runs-on: ubuntu-latest
137-
needs: markdownlint # Only runs if markdownlint passes!
138-
steps:
139138
- name: Docusaurus build
140139
env:
141140
NODE_OPTIONS: --max-old-space-size=8192

0 commit comments

Comments
 (0)