mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-23 05:30:41 +00:00
ci: switch to lychee as linkcheck
This commit is contained in:
parent
316e418e0b
commit
011ae7b8ed
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