mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-12-25 06:28:56 +00:00
[actions] check md files link
Signed-off-by: Kang HuaiShuai <khs1994@khs1994.com>
This commit is contained in:
parent
6c0fc9e416
commit
33c2b2216d
24
.github/workflows/check-link.yml
vendored
Normal file
24
.github/workflows/check-link.yml
vendored
Normal file
@ -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
|
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -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
Block a user