From 773244d354f8cec071a1dc375194f17b8e1b796b Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 4 Nov 2022 09:05:23 +0100 Subject: [PATCH] ci: refactor broken link check (#53) --- .drone.jsonnet | 3 ++- .drone.yml | 5 +++-- .linkcheckignore | 0 3 files changed, 5 insertions(+), 3 deletions(-) delete mode 100644 .linkcheckignore diff --git a/.drone.jsonnet b/.drone.jsonnet index add3446..af90875 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -52,10 +52,11 @@ local PipelineDocs = { name: 'link-validation', image: 'thegeeklab/link-validator', commands: [ - 'link-validator --nice --external --skip-file .linkcheckignore', + 'link-validator --color=always', ], environment: { LINK_VALIDATOR_BASE_DIR: 'public', + LINK_VALIDATOR_RETRIES: '3', }, }, { diff --git a/.drone.yml b/.drone.yml index d11b5dd..40bfae2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -41,9 +41,10 @@ steps: - name: link-validation image: thegeeklab/link-validator commands: - - link-validator --nice --external --skip-file .linkcheckignore + - link-validator --color=always environment: LINK_VALIDATOR_BASE_DIR: public + LINK_VALIDATOR_RETRIES: 3 - name: build image: thegeeklab/hugo:0.97.3 @@ -85,6 +86,6 @@ trigger: --- kind: signature -hmac: 446b57f10122e64f67000e9d1319456425ef8b9472b4eaddc7da8ddc7814b9bb +hmac: 762affa3cc3a798cc7175b17e9831a22549a54d9ff6b599e03c223aef5d1d51a ... diff --git a/.linkcheckignore b/.linkcheckignore deleted file mode 100644 index e69de29..0000000