ci: switch to linkchecker #57

Merged
xoxys merged 4 commits from linkchecker into master 2022-05-20 13:12:51 +00:00
3 changed files with 20 additions and 8 deletions

View File

@ -34,12 +34,12 @@ steps:
- name: testbuild - name: testbuild
image: thegeeklab/hugo:0.97.3 image: thegeeklab/hugo:0.97.3
commands: commands:
- hugo --panicOnWarning -b http://localhost/ - hugo --panicOnWarning -b http://localhost:8000/
- name: link-validation - name: link-validation
image: thegeeklab/link-validator image: thegeeklab/link-validator
commands: commands:
- link-validator -ro - link-validator --nice --external --skip-file .linkcheckignore
environment: environment:
LINK_VALIDATOR_BASE_DIR: public LINK_VALIDATOR_BASE_DIR: public
@ -84,6 +84,6 @@ trigger:
--- ---
kind: signature kind: signature
hmac: 581c348d7f9cfe721ad007f370940f27cb72d6b56d259b133b7c62d31c72a23a hmac: 2f47b780a063473f8ecdbdd23e204eb5d2262e4b7fa957ffc3534fbce3968d33
... ...

22
.gitignore vendored
View File

@ -1,5 +1,17 @@
public/ # local environments
resources/_gen/ .swp
themes/ .env*
content/roles/*/**/ /dist/
content/collections/ /build/
/node_modules/
# auto-generated files
/themes/
/public/
/static/
/resources/
/content/roles/*/**/
/content/collections/
# hugo
.hugo_build.lock

0
.linkcheckignore Normal file
View File