[ci] Dead link check all markdown file (#10004)

there are 162 markdown files in dir `docs`
and all file in project is 175 files, so I
think check all file will not add too much
load for our ci, but it could discovered
the dead link in time to avoid some thing
like #9998
This commit is contained in:
Jiajie Zhong 2022-05-12 11:30:01 +08:00 committed by GitHub
parent 99b1c40dc7
commit 8d17fd20f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -19,6 +19,8 @@ name: Docs
on:
pull_request:
paths:
- '.github/workflows/docs.yml'
- '**/*.md'
- 'docs/**'
concurrency:
@ -50,7 +52,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: sudo npm install -g markdown-link-check@3.10.0
# NOTE: Change command from `find . -name "*.md"` to `find . -not -path "*/node_modules/*" -not -path "*/.tox/*" -name "*.md"`
# if you want to run check locally
- run: |
for file in $(find ./docs -name "*.md"); do
for file in $(find . -name "*.md"); do
markdown-link-check -c .dlc.json -q "$file"
done

View File

@ -1,4 +1,4 @@
# DolphinScheduler for Docker and Kubernetes
* [Start Up DolphinScheduler with Docker](https://dolphinscheduler.apache.org/en-us/docs/latest/user_doc/guide/installation/docker.html)
* [Start Up DolphinScheduler with Docker](https://dolphinscheduler.apache.org/en-us/docs/latest/user_doc/guide/start/docker.html)
* [Start Up DolphinScheduler with Kubernetes](https://dolphinscheduler.apache.org/en-us/docs/latest/user_doc/guide/installation/kubernetes.html)