mirror of
https://gitlab.com/lvra/lvra.gitlab.io.git
synced 2025-05-03 20:54:24 +02:00
feat: test if local links exist in ci
This commit is contained in:
parent
605b0fb291
commit
10227b959f
2 changed files with 41 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue