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:
parent
bcd2d3fdf7
commit
773244d354
@ -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',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user