ci: refactor broken link check (#478)

This commit is contained in:
Robert Kaussow 2022-11-04 12:58:09 +01:00 committed by GitHub
parent 228a207eda
commit 52bb558176
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -346,10 +346,11 @@ local PipelineDocs = {
name: 'link-validation',
image: 'thegeeklab/link-validator',
commands: [
'link-validator --nice --external --skip-file .linkcheckignore',
'link-validator --color=always --rate-limit 10',
],
environment: {
LINK_VALIDATOR_BASE_DIR: 'docs/public',
LINK_VALIDATOR_RETRIES: '3',
},
},
{

View File

@ -502,9 +502,10 @@ steps:
- name: link-validation
image: thegeeklab/link-validator
commands:
- link-validator --nice --external --skip-file .linkcheckignore
- link-validator --color=always --rate-limit 10
environment:
LINK_VALIDATOR_BASE_DIR: docs/public
LINK_VALIDATOR_RETRIES: 3
- name: build
image: thegeeklab/hugo:0.97.3
@ -644,6 +645,6 @@ depends_on:
---
kind: signature
hmac: 1248c66961ccf34ce348b02e971d170a7dbcd7d93f278ba0f29b764fd39278fe
hmac: fd2f1e531d6de5ca24be2e7ae20cf85a92f13662eb3768116f7b1a0cf358c2ea
...

View File