mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-21 20:30:39 +00:00
ci: switch to lychee as linkcheck
This commit is contained in:
parent
53ad53cd15
commit
b107e090ab
3
.lycheeignore
Normal file
3
.lycheeignore
Normal file
@ -0,0 +1,3 @@
|
||||
https://github.com/thegeeklab/.+/edit/main/.*
|
||||
https://unsplash.com.*
|
||||
https://www.color-hex.com.*
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user