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:
Aidan Feldman 2021-01-20 18:06:58 -05:00 committed by Sebastiaan van Stijn
parent 408b8630bd
commit f78fca2fba
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@ jobs:
- uses: actions/checkout@v2
- name: build image
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
# - name: copy static files
# if: github.event.pull_request.head.repo.fork == false