feat: test if local links exist in ci

This commit is contained in:
GabMus 2023-12-22 09:16:24 +00:00
parent 605b0fb291
commit 10227b959f
2 changed files with 41 additions and 3 deletions

View file

@ -1,15 +1,20 @@
image: registry.gitlab.com/pages/hugo/hugo_extended
variables:
GIT_SUBMODULE_STRATEGY: recursive
test:
test-links:
image: python:latest
script:
- python3 ./test_links.py
test-build:
image: registry.gitlab.com/pages/hugo/hugo_extended
script:
- hugo
except:
- main
pages:
image: registry.gitlab.com/pages/hugo/hugo_extended
script:
- hugo
artifacts: