Commit 7f9fbc6a authored by David Hrbáč's avatar David Hrbáč

Refactored 404 CI test

parent 3b7e384a
Pipeline #5947 failed with stages
in 1 minute and 33 seconds
......@@ -50,7 +50,7 @@ ext_links:
- wget --spider -e robots=off -o wget.log -r -p https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/ || true
#- wget --spider -e robots=off -r -p https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/
script:
- cat wget.log | awk '/^Found [0-9]+ broken links.$/,/FINISHED/ { rc=-1; print $0 }; END { exit rc }'
- cat wget.log | awk '/^Found [0-9]+ broken link[s]?.$/,/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