[actions] check md files link
Signed-off-by: Kang HuaiShuai <khs1994@khs1994.com>pull/441/head
parent
6c0fc9e416
commit
33c2b2216d
|
@ -0,0 +1,24 @@
|
|||
name: check-link
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
check-link:
|
||||
name: check-link
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- run: |
|
||||
docker run -i --rm \
|
||||
-v $PWD:/mnt:ro \
|
||||
dkhamsing/awesome_bot \
|
||||
--white-list "localhost" \
|
||||
--allow-dupe \
|
||||
--allow-redirect \
|
||||
--skip-save-results \
|
||||
`find . -name "*.md"`
|
||||
name: check-link
|
|
@ -38,8 +38,6 @@ jobs:
|
|||
cp -r kubernetes/_images .vuepress/dist/kubernetes
|
||||
cp -r mesos/_images .vuepress/dist/mesos
|
||||
cp -r underly/_images .vuepress/dist/underly
|
||||
|
||||
echo "include: [_images]" > .vuepress/dist/_config
|
||||
- name: Upload Vuepress dist
|
||||
uses: docker://pcit/pages
|
||||
if: github.repository == 'docker-practice/docker_practice'
|
||||
|
|
Loading…
Reference in New Issue