diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 111fffc18685aeec573149478fd1ce4f61232122..45c8ee9ed8715f20e2555dae8ddbfb151cb1ef6b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -47,9 +47,7 @@ ext_links:
   script:
   - wget -V
   - echo 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/
-  - curl https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/
-  - sed -n '/^Found .* broken links.$/,$p' /tmp/wget.log
+  - wget --spider -e robots=off  -r -p https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/ | sed -n '/^Found .* broken links.$/,$p'
 
 mkdocs:
   stage: build