ci: switch to lychee as linkcheck
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
3cd4c95567
commit
72466ce0de
12
.drone.yml
12
.drone.yml
@ -43,12 +43,9 @@ steps:
|
||||
- hugo --panicOnWarning -b http://localhost:8000/
|
||||
|
||||
- name: link-validation
|
||||
image: thegeeklab/link-validator
|
||||
image: lycheeverse/lychee
|
||||
commands:
|
||||
- "link-validator --color=always --rate-limit 10 --header '\"user-agent: curl\"' -e https://matrix.to.* -e https://www.nginx.com.*"
|
||||
environment:
|
||||
LINK_VALIDATOR_BASE_DIR: public/
|
||||
LINK_VALIDATOR_RETRIES: 3
|
||||
- lychee --no-progress --format detailed content/ README.md
|
||||
|
||||
- name: build
|
||||
image: thegeeklab/hugo:0.115.2
|
||||
@ -71,7 +68,8 @@ steps:
|
||||
from_secret: s3_access_key
|
||||
bucket: thegeeklab-root
|
||||
delete: true
|
||||
endpoint: https://sp.rknet.org
|
||||
endpoint:
|
||||
from_secret: s3_endpoint
|
||||
path_style: true
|
||||
secret_key:
|
||||
from_secret: s3_secret_access_key
|
||||
@ -127,6 +125,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 5dd163790b6804e74afffddf947dd2bcdf58d171b38f94c4e1bad166b82646c5
|
||||
hmac: 899894369ae1a6044074429d797c0fb8a558ec7bf5535f25fffc8266064b0ea1
|
||||
|
||||
...
|
||||
|
2
.lycheeignore
Normal file
2
.lycheeignore
Normal file
@ -0,0 +1,2 @@
|
||||
https://matrix.to.*
|
||||
https://www.nginx.com.*
|
Loading…
Reference in New Issue
Block a user