From 542296db1ab0b442f01c5cc5e4f9ddde37551a21 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 29 May 2023 12:19:09 +0200 Subject: [PATCH] fix link-checker user agent --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index a1734ee..50adaf0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -45,7 +45,7 @@ steps: - name: link-validation image: thegeeklab/link-validator commands: - - link-validator --color=always --rate-limit 10 -e https://matrix.to.* -e https://www.graylog.org.* -e https://go2docs.graylog.org.* -e https://unsplash.com.* + - "link-validator --color=always --rate-limit 10 --header \'user-agent: curl\' -e https://matrix.to.*" environment: LINK_VALIDATOR_BASE_DIR: public/ LINK_VALIDATOR_RETRIES: 3