mirror of
https://github.com/thegeeklab/woodpecker-plugins.git
synced 2024-11-28 17:20:36 +00:00
ci: add rate limit to link check
This commit is contained in:
parent
773244d354
commit
865bd9aed3
@ -52,7 +52,7 @@ local PipelineDocs = {
|
|||||||
name: 'link-validation',
|
name: 'link-validation',
|
||||||
image: 'thegeeklab/link-validator',
|
image: 'thegeeklab/link-validator',
|
||||||
commands: [
|
commands: [
|
||||||
'link-validator --color=always',
|
'link-validator --color=always --rate-limit 10',
|
||||||
],
|
],
|
||||||
environment: {
|
environment: {
|
||||||
LINK_VALIDATOR_BASE_DIR: 'public',
|
LINK_VALIDATOR_BASE_DIR: 'public',
|
||||||
|
@ -41,7 +41,7 @@ steps:
|
|||||||
- name: link-validation
|
- name: link-validation
|
||||||
image: thegeeklab/link-validator
|
image: thegeeklab/link-validator
|
||||||
commands:
|
commands:
|
||||||
- link-validator --color=always
|
- link-validator --color=always --rate-limit 10
|
||||||
environment:
|
environment:
|
||||||
LINK_VALIDATOR_BASE_DIR: public
|
LINK_VALIDATOR_BASE_DIR: public
|
||||||
LINK_VALIDATOR_RETRIES: 3
|
LINK_VALIDATOR_RETRIES: 3
|
||||||
@ -86,6 +86,6 @@ trigger:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 762affa3cc3a798cc7175b17e9831a22549a54d9ff6b599e03c223aef5d1d51a
|
hmac: 541c0951ef21b82961d09fb5b167a80ab30084d517d1c7cd405e37340c5fdbe3
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user