ci: refactor broken link check (#422)

This commit is contained in:
Robert Kaussow 2022-11-04 12:58:11 +01:00 committed by GitHub
parent 45c5213b61
commit 198c08f684
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', name: 'link-validation',
image: 'thegeeklab/link-validator', image: 'thegeeklab/link-validator',
commands: [ commands: [
'link-validator --nice --external --skip-file .linkcheckignore', 'link-validator --color=always --rate-limit 10',
], ],
environment: { environment: {
LINK_VALIDATOR_BASE_DIR: 'docs/public', LINK_VALIDATOR_BASE_DIR: 'docs/public',
LINK_VALIDATOR_RETRIES: '3',
}, },
}, },
{ {

View File

@ -519,9 +519,10 @@ steps:
- name: link-validation - name: link-validation
image: thegeeklab/link-validator image: thegeeklab/link-validator
commands: commands:
- link-validator --nice --external --skip-file .linkcheckignore - link-validator --color=always --rate-limit 10
environment: environment:
LINK_VALIDATOR_BASE_DIR: docs/public LINK_VALIDATOR_BASE_DIR: docs/public
LINK_VALIDATOR_RETRIES: 3
- name: build - name: build
image: thegeeklab/hugo:0.97.3 image: thegeeklab/hugo:0.97.3
@ -661,6 +662,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: d757b839a090092d430dfeba0e2a5a2fcab4deb2aab992006d8f475cf24b2815 hmac: 84a623c774525e956668dc8f054937ed3afcd4dc4f7af2d6ab6efc54c214fa3d
... ...

View File