From d01133b04e46974ebe5501338e6d32dca2730af6 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 20 May 2022 15:12:50 +0200 Subject: [PATCH] ci: switch to linkchecker (#57) --- .drone.yml | 6 +++--- .gitignore | 22 +++++++++++++++++----- .linkcheckignore | 0 3 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 .linkcheckignore diff --git a/.drone.yml b/.drone.yml index 35883ec..158761f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -34,12 +34,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 @@ -84,6 +84,6 @@ trigger: --- kind: signature -hmac: 581c348d7f9cfe721ad007f370940f27cb72d6b56d259b133b7c62d31c72a23a +hmac: 2f47b780a063473f8ecdbdd23e204eb5d2262e4b7fa957ffc3534fbce3968d33 ... diff --git a/.gitignore b/.gitignore index 14c889d..de93bb6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,17 @@ -public/ -resources/_gen/ -themes/ -content/roles/*/**/ -content/collections/ +# local environments +.swp +.env* +/dist/ +/build/ +/node_modules/ + +# auto-generated files +/themes/ +/public/ +/static/ +/resources/ +/content/roles/*/**/ +/content/collections/ + +# hugo +.hugo_build.lock diff --git a/.linkcheckignore b/.linkcheckignore new file mode 100644 index 0000000..e69de29