mirror of https://github.com/docker/docs.git
check for broken links
Seeing [a number of issues around broken links in the docs](https://github.com/docker/docker.github.io/issues?q=is%3Aissue+is%3Aopen+broken+link); this should help avoid the issue.
This commit is contained in:
parent
408b8630bd
commit
f78fca2fba
|
|
@ -14,6 +14,11 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: build image
|
- name: build image
|
||||||
run: docker build --target=current -t documentation:latest .
|
run: docker build --target=current -t documentation:latest .
|
||||||
|
- name: check for broken links
|
||||||
|
uses: chabad360/htmlproofer@master
|
||||||
|
with:
|
||||||
|
directory: ./_site
|
||||||
|
arguments: --disable-external
|
||||||
# Disabled netlify-deploy due to flakey 502 http errors
|
# Disabled netlify-deploy due to flakey 502 http errors
|
||||||
# - name: copy static files
|
# - name: copy static files
|
||||||
# if: github.event.pull_request.head.repo.fork == false
|
# if: github.event.pull_request.head.repo.fork == false
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue