ci: refactor broken link check (#395)

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

View File

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

@ -499,9 +499,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
@ -641,6 +642,6 @@ depends_on:
---
kind: signature
hmac: 84c98d056567b4358d8c441130bd567d94c3e5d5602f50b8b7d4073005d55d15
hmac: 7c5a7df28735f2fa0d8edc78cfa1a2b9da96e4f1e4bb422635deb4eb3a1763be
...

View File