ci: switch to lychee as linkcheck

This commit is contained in:
Robert Kaussow 2023-09-27 21:52:47 +02:00
parent 316e418e0b
commit 011ae7b8ed
Signed by: xoxys
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 - vnu --skip-non-html --also-check-css --errors-only --filterfile .vnuignore exampleSite/public
link-validation: link-validation:
image: quay.io/thegeeklab/link-validator image: docker.io/lycheeverse/lychee
group: test group: test
commands: 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.* - lychee --no-progress --format detailed exampleSite/content/ README.md
environment:
LINK_VALIDATOR_BASE_DIR: exampleSite/public
LINK_VALIDATOR_RETRIES: "3"
page-validation: page-validation:
image: quay.io/thegeeklab/lhci:0.12 image: quay.io/thegeeklab/lhci:0.12