Skip to content
Snippets Groups Projects
Verified Commit d13c3434 authored by Huste, Tobias's avatar Huste, Tobias :rabbit:
Browse files

Make external link checker compatible with 4.*

parent 795e2f28
No related branches found
No related tags found
1 merge request!625Bump html-proofer from 3.19.4 to 4.4.1
......@@ -158,15 +158,17 @@ test:htmlproofer:external_links:
- build:production
needs: ["build:production"]
script:
- "bundle exec htmlproofer \
--internal-domains localhost:4000 \
--allow-hash-href \
--url-ignore '/www.openstoragenetwork.org/,/www.hzdr.de/,/indico4.twgrid.org/,/webfts.fedcloud-tf.fedcloud.eu/' \
--assume-extension public/"
- >
bundle exec htmlproofer public
--disable-external=false
--enforce-https=false
--ignore-urls='/www.openstoragenetwork.org/,/www.hzdr.de/,/indico4.twgrid.org/,/webfts.fedcloud-tf.fedcloud.eu/'
--ignore-status-codes=429
--check-external-hash=false
--typhoeus='{"headers":{"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0"}}'
--only-4xx
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
tags:
- internal
allow_failure: true
review:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment