0
0
mirror of https://github.com/thegeeklab/woodpecker-plugins.git synced 2024-11-24 22:10:39 +00:00

ci: refactor broken link check (#53)

This commit is contained in:
Robert Kaussow 2022-11-04 09:05:23 +01:00 committed by GitHub
parent bcd2d3fdf7
commit 773244d354
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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