Commit 8b163c75 authored by David Hrbáč's avatar David Hrbáč

CI 404s test

parent c885149c
......@@ -40,6 +40,24 @@ ext_links:
only:
- master
404s:
stage: test
image: davidhrbac/docker-mkdocscheck:latest
cache:
paths:
- .cache/pip
- venv/
before_script:
- python -V # Print out python version for debugging
- pip install virtualenv
- virtualenv venv
- source venv/bin/activate
- pip install -r requirements.txt
- mkdocs serve &
script:
- wget --spider -o /tmp/wget.log -e robots=off -r -p http://127.0.0.1:8000
- sed -n '/^Found .* broken links.$/,$p' /tmp/wget.log
mkdocs:
stage: build
image: davidhrbac/docker-mkdocscheck:latest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment