From b107e090ab38d3f67d9dfcb3a6c42df4287abfe8 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 27 Sep 2023 21:52:48 +0200 Subject: [PATCH] ci: switch to lychee as linkcheck --- .lycheeignore | 3 +++ .woodpecker/test.yml | 7 ++----- 2 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 .lycheeignore diff --git a/.lycheeignore b/.lycheeignore new file mode 100644 index 0000000..bbe71df --- /dev/null +++ b/.lycheeignore @@ -0,0 +1,3 @@ +https://github.com/thegeeklab/.+/edit/main/.* +https://unsplash.com.* +https://www.color-hex.com.* diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 48a308f..b2efbe9 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -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