From 346ad6c91dd849cd78aa13680b0ad76938a96f11 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 4 Nov 2022 10:15:58 +0100 Subject: [PATCH] ci: refactor broken link check (#531) --- .drone.yml | 5 +++-- .linkcheckignore | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 .linkcheckignore diff --git a/.drone.yml b/.drone.yml index 2778d08..cf65c12 100644 --- a/.drone.yml +++ b/.drone.yml @@ -39,9 +39,10 @@ steps: - name: link-validation image: thegeeklab/link-validator commands: - - link-validator --nice --external --skip-file .linkcheckignore + - link-validator --color=always --rate-limit 10 -e https://github.com/thegeeklab/hugo-geekdoc/edit/main/.* environment: LINK_VALIDATOR_BASE_DIR: exampleSite/public + LINK_VALIDATOR_RETRIES: 3 - name: page-validation image: thegeeklab/lhci @@ -286,6 +287,6 @@ depends_on: --- kind: signature -hmac: 8a857bba8126ebb40acc7dfb24a86f1539d447df4ca3e4b3bdc8f78d21e2b51b +hmac: 87d359c4cd5112149e7455a8e23070741f1d3332e3dbe0636aeb74209364b65c ... diff --git a/.linkcheckignore b/.linkcheckignore deleted file mode 100644 index bc7e6b1..0000000 --- a/.linkcheckignore +++ /dev/null @@ -1,2 +0,0 @@ -.*/fonts/KaTeX_.*.ttf -https://github.com/thegeeklab/hugo-geekdoc/edit/main/.*