Skip to content

Commit

Permalink
触发测试2
Browse files Browse the repository at this point in the history
  • Loading branch information
lhq01844380@antgroup.com committed Jul 4, 2024
1 parent 7c5607d commit d15c657
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
10 changes: 1 addition & 9 deletions .github/dead_link_check_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,7 @@
"replacementPatterns": [
{
"pattern": "^/",
"replacement": "http://localhost:3000/"
},
{
"pattern": "^zh/",
"replacement": "http://localhost:3000/#/zh/"
},
{
"pattern": "^en/",
"replacement": "http://localhost:3000/#/en/"
"replacement": "docs/"
}
],
"timeout": "10s",
Expand Down
23 changes: 15 additions & 8 deletions .github/workflows/dead-link-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,20 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v2
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
check-modified-files-only: 'yes'
config-file: 'mlc_config.json'
folder-path: 'docs/blog/,docs/docs/,docs/i18n/docusaurus-plugin-content-blog/,docs/i18n/docusaurus-plugin-content-docs/'

- name: Install markdown-link-check
run: sudo npm install -g markdown-link-check@3
# - name: Install markdown-link-check
# run: sudo npm install -g markdown-link-check

- name: Install and start docusaurus server
run: |
sudo npm install
sudo npm run build --config docs && npm run serve --config docs
- name: Check dead links in all the .md files
run: make deadlink
# - name: Install and start docusaurus server
# run: |
# sudo npm install
# sudo npm run build --config docs && npm run serve --config docs
# - name: Check dead links in all the .md files
# run: make deadlink

0 comments on commit d15c657

Please sign in to comment.