diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2f1f9757e747e88e87c47630ef12ba938e2bdc39..b17ba3d518222f22dd5f91337235b950ed07cec7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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