ci: switch to lychee as linkcheck
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2023-09-27 21:52:49 +02:00
parent 3cd4c95567
commit 72466ce0de
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 7 additions and 7 deletions

View File

@ -43,12 +43,9 @@ steps:
- hugo --panicOnWarning -b http://localhost:8000/ - hugo --panicOnWarning -b http://localhost:8000/
- name: link-validation - name: link-validation
image: thegeeklab/link-validator image: lycheeverse/lychee
commands: commands:
- "link-validator --color=always --rate-limit 10 --header '\"user-agent: curl\"' -e https://matrix.to.* -e https://www.nginx.com.*" - lychee --no-progress --format detailed content/ README.md
environment:
LINK_VALIDATOR_BASE_DIR: public/
LINK_VALIDATOR_RETRIES: 3
- name: build - name: build
image: thegeeklab/hugo:0.115.2 image: thegeeklab/hugo:0.115.2
@ -71,7 +68,8 @@ steps:
from_secret: s3_access_key from_secret: s3_access_key
bucket: thegeeklab-root bucket: thegeeklab-root
delete: true delete: true
endpoint: https://sp.rknet.org endpoint:
from_secret: s3_endpoint
path_style: true path_style: true
secret_key: secret_key:
from_secret: s3_secret_access_key from_secret: s3_secret_access_key
@ -127,6 +125,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 5dd163790b6804e74afffddf947dd2bcdf58d171b38f94c4e1bad166b82646c5 hmac: 899894369ae1a6044074429d797c0fb8a558ec7bf5535f25fffc8266064b0ea1
... ...

2
.lycheeignore Normal file
View File

@ -0,0 +1,2 @@
https://matrix.to.*
https://www.nginx.com.*