From c72419cdd35662659e1792c7cb4c02a358cbab3c Mon Sep 17 00:00:00 2001 From: Stephan Schroevers Date: Sat, 9 Nov 2024 14:04:07 +0100 Subject: [PATCH] Fix HTMLProofer config --- .github/workflows/deploy-website.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index d4158f94e8..8b296a8184 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -59,8 +59,9 @@ jobs: run: bundle exec jekyll build - name: Validate HTML output working-directory: ./website - # XXX: StackOverflow returns a 403 when run on GHA. - run: bundle exec htmlproofer --no-check-external-hash --swap-url 'https\://error-prone.picnic.tech:' --ignore-urls '/^https:\/\/stackoverflow.com\/.*/' ./_site + # XXX: Bealdung and StackOverflow return HTTP 403 responses when run on + # a GitHub Action node. + run: bundle exec htmlproofer --no-check-external-hash --swap-url 'https\://error-prone.picnic.tech:' --ignore-urls '/^https:\/\/(www\.baeldung\.com|stackoverflow\.com)\/.*/' ./_site - name: Upload website as artifact uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1 with: