diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 899282b57c91164fed95bb09727bd24a9e4272af..c10e8131095019850387371d8c49c938689e33f7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -55,7 +55,7 @@ ext_links: before_script: - echo "192.168.101.10 docs.it4i.cz" >> /etc/hosts - wget -V - - echo https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/ + - echo https://docs.it4i.cz/devel/$CI_COMMIT_REF_NAME/ - wget --spider -e robots=off -o wget.log -r -p https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/ || true script: - cat wget.log | awk '/^Found [0-9]+ broken link[s]?.$/,/FINISHED/ { rc=-1; print $0 }; END { exit rc }'