ci: refactor broken link check (#321)

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

View File

@ -350,10 +350,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

@ -519,9 +519,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
@ -661,6 +662,6 @@ depends_on:
---
kind: signature
hmac: 4f8dde7e823ea957355a10b2251c5cb5ad35c05a026fa11c8e236b4ff3d0c8d4
hmac: 91b43d26ede8f8a761f7c136fb6d35cbc784784c1ce443b82674e92458ffded1
...

View File