diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 65e63e4a3f868e813225a32ae1be55db8de46b4b..b41f394bc2570405a840729ab1cb83132e29d109 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -220,7 +220,7 @@ deploy-documentation:
       EOS_PATH: "/eos/project/d/dd4hep/www/"
     only:
       - tags@CLICdp/DetectorSoftware/DD4hep
-      - branches@CLICdp/DetectorSoftware/DD4hep
+      - master@CLICdp/DetectorSoftware/DD4hep
     stage: deployment
     tags:
       - docker