Commit 38f82d7a authored by David Hrbáč's avatar David Hrbáč

Better 404s check

parent b37ad10b
......@@ -47,7 +47,7 @@ ext_links:
script:
- wget -V
- echo https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/
- wget --spider -e robots=off -o wget.log -r -p https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/ awk | '/^Found .* broken links.$/,/FINISHED/ { rc=1; print $0 }; END { exit rc }'
- wget --spider -e robots=off -o wget.log -r -p https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/ | awk '/^Found .* broken links.$/,/FINISHED/ { rc=1; print $0 }; END { exit rc }'
mkdocs:
stage: build
......
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