Skip to content

Commit

Permalink
Fix HTMLProofer config
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan202 committed Jan 4, 2025
1 parent b85be80 commit 9ecdc78
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9ecdc78

Please sign in to comment.