ci: switch to lychee as linkcheck

This commit is contained in:
Robert Kaussow 2023-09-27 21:52:48 +02:00
parent 53ad53cd15
commit b107e090ab
No known key found for this signature in database
GPG key ID: 4E692A2EAECC03C0
2 changed files with 5 additions and 5 deletions

3
.lycheeignore Normal file
View file

@ -0,0 +1,3 @@
https://github.com/thegeeklab/.+/edit/main/.*
https://unsplash.com.*
https://www.color-hex.com.*

View file

@ -37,13 +37,10 @@ steps:
- vnu --skip-non-html --also-check-css --errors-only --filterfile .vnuignore exampleSite/public
link-validation:
image: quay.io/thegeeklab/link-validator
image: docker.io/lycheeverse/lychee
group: test
commands:
- link-validator --color=always --rate-limit 10 --timeout 60 -e https://github.com/thegeeklab/${CI_REPO_NAME}/edit/main/.* -e https://unsplash.com.* -e https://www.color-hex.com.*
environment:
LINK_VALIDATOR_BASE_DIR: exampleSite/public
LINK_VALIDATOR_RETRIES: "3"
- lychee --no-progress --format detailed exampleSite/content/ README.md
page-validation:
image: quay.io/thegeeklab/lhci:0.12