From 36fb84cfa8b2763599b3f38c6c4f58f39abfa6b9 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 20 May 2022 15:00:41 +0200 Subject: [PATCH 1/4] ci: switch to linkchecker --- .drone.yml | 6 ++---- .hugo_build.lock | 0 .linkcheckignore | 0 3 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 .hugo_build.lock create mode 100644 .linkcheckignore diff --git a/.drone.yml b/.drone.yml index 35883ec..b4332e1 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 @@ -85,5 +85,3 @@ trigger: --- kind: signature hmac: 581c348d7f9cfe721ad007f370940f27cb72d6b56d259b133b7c62d31c72a23a - -... diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/.linkcheckignore b/.linkcheckignore new file mode 100644 index 0000000..e69de29 -- 2.24.4 From 144434382831d9ebdf7264a781271ee9176ca550 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 20 May 2022 15:01:43 +0200 Subject: [PATCH 2/4] remove .hugo_build.lock --- .gitignore | 1 + .hugo_build.lock | 0 2 files changed, 1 insertion(+) delete mode 100644 .hugo_build.lock diff --git a/.gitignore b/.gitignore index 14c889d..75a98d6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ resources/_gen/ themes/ content/roles/*/**/ content/collections/ +.hugo_build.lock diff --git a/.hugo_build.lock b/.hugo_build.lock deleted file mode 100644 index e69de29..0000000 -- 2.24.4 From ccbe6ca4e82b1f3d625fc25fd1b2b0a0b2883cd1 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 20 May 2022 15:03:29 +0200 Subject: [PATCH 3/4] cleanup gitignore --- .gitignore | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 75a98d6..de93bb6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +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 -- 2.24.4 From 1675c5dc604c02f0a3576cc14d365f46ea7689d8 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 20 May 2022 15:06:15 +0200 Subject: [PATCH 4/4] sign drone config --- .drone.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index b4332e1..158761f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -84,4 +84,6 @@ trigger: --- kind: signature -hmac: 581c348d7f9cfe721ad007f370940f27cb72d6b56d259b133b7c62d31c72a23a +hmac: 2f47b780a063473f8ecdbdd23e204eb5d2262e4b7fa957ffc3534fbce3968d33 + +... -- 2.24.4