From 6e187f0c2bb891fd321607e40b27cddad5cd164c Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 20 May 2022 15:12:44 +0200 Subject: [PATCH] ci: switch to linkchecker (#107) --- .drone.yml | 6 +++--- .linkcheckignore | 1 + .../docker-port-publishing-for-localhost-bindings/index.md | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 .linkcheckignore diff --git a/.drone.yml b/.drone.yml index c065703..08c3770 100644 --- a/.drone.yml +++ b/.drone.yml @@ -41,12 +41,12 @@ steps: - name: testbuild image: thegeeklab/hugo:0.97.3 commands: - - hugo --panicOnWarning -b http://localhost/ + - hugo --panicOnWarning -b http://localhost:8000/ - name: link-validation image: thegeeklab/link-validator commands: - - link-validator -ro + - link-validator --nice --external --skip-file .linkcheckignore environment: LINK_VALIDATOR_BASE_DIR: public/ @@ -127,6 +127,6 @@ depends_on: --- kind: signature -hmac: 67a15612dbb19906722e53b0203f6eea732d73a200bed1fb2d7013b93710c612 +hmac: 184a4ce9d1ed31bbe840d2913d4126ebcc6188a26782741684b5f530001ab396 ... diff --git a/.linkcheckignore b/.linkcheckignore new file mode 100644 index 0000000..da30e68 --- /dev/null +++ b/.linkcheckignore @@ -0,0 +1 @@ +https://matrix.to/.* diff --git a/content/posts/2020/docker-port-publishing-for-localhost-bindings/index.md b/content/posts/2020/docker-port-publishing-for-localhost-bindings/index.md index a85b2d2..1c9756e 100644 --- a/content/posts/2020/docker-port-publishing-for-localhost-bindings/index.md +++ b/content/posts/2020/docker-port-publishing-for-localhost-bindings/index.md @@ -15,7 +15,7 @@ resources: params: anchor: Center credits: > - [Andy Li](https://unsplash.com/@andasta) on + Andy Li (@andasta) [Unsplash](https://unsplash.com/s/photos/container) ---