diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 07550e20b2c736ae4f485891891679220904a03d..950ee0ac7372c1bfaf3f371b0d7d509430dcbd2a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,9 +47,8 @@ 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/ - - wget --spider -e robots=off -r -p https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/ - # - cat wget.log | awk '/^Found [0-9]+ 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/ + - cat wget.log | awk '/^Found [0-9]+ broken links.$/,/FINISHED/ { rc=-1; print $0 }; END { exit rc }' mkdocs: stage: build