From f78fca2fba7102f8eb0108f790ab3a8b50a65988 Mon Sep 17 00:00:00 2001 From: Aidan Feldman Date: Wed, 20 Jan 2021 18:06:58 -0500 Subject: [PATCH] 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. --- .github/workflows/build-pr.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index c3723a544d..11b44a1c05 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -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