ci: refactor broken link check

This commit is contained in:
Robert Kaussow 2022-11-04 09:00:14 +01:00
parent bcd2d3fdf7
commit f8e4824868
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
3 changed files with 5 additions and 3 deletions

View File

@ -52,10 +52,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',
], ],
environment: { environment: {
LINK_VALIDATOR_BASE_DIR: 'public', LINK_VALIDATOR_BASE_DIR: 'public',
LINK_VALIDATOR_RETRIES: '3',
}, },
}, },
{ {

View File

@ -41,9 +41,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
environment: environment:
LINK_VALIDATOR_BASE_DIR: public LINK_VALIDATOR_BASE_DIR: public
LINK_VALIDATOR_RETRIES: 3
- name: build - name: build
image: thegeeklab/hugo:0.97.3 image: thegeeklab/hugo:0.97.3
@ -85,6 +86,6 @@ trigger:
--- ---
kind: signature kind: signature
hmac: 446b57f10122e64f67000e9d1319456425ef8b9472b4eaddc7da8ddc7814b9bb hmac: 762affa3cc3a798cc7175b17e9831a22549a54d9ff6b599e03c223aef5d1d51a
... ...

View File