diff --git a/capif/templates/cd-deploy-ocf.gitlab-ci.yml b/capif/templates/cd-deploy-ocf.gitlab-ci.yml
index eb298fe5f13dd31c5b87df4effe5fa3fa85da804..6ff2073a1b3347b4864e85a41331c34014a8f793 100644
--- a/capif/templates/cd-deploy-ocf.gitlab-ci.yml
+++ b/capif/templates/cd-deploy-ocf.gitlab-ci.yml
@@ -134,9 +134,7 @@ deploy_ocf_dev:
     - helm dependency build helm/capif
     - echo "### updating capif###"
     - helm uninstall -n $NAMESPACE_DEV ocf-developer || true
-    - helm upgrade --install -n $NAMESPACE_DEV ocf-developer helm/capif/ \
-      --set nginx.nginx.env.capifHostname=capif-$CI_ENVIRONMENT_SLUG.$DOMAIN_DEV \
-      --set nginx.nginx.env.registerHostname=register-$CI_ENVIRONMENT_SLUG.$DOMAIN_DEV \
+    - helm upgrade --install -n $NAMESPACE_DEV ocf-developer helm/capif/ --set nginx.nginx.env.capifHostname=capif-$CI_ENVIRONMENT_SLUG.$DOMAIN_DEV --set nginx.nginx.env.registerHostname=register-$CI_ENVIRONMENT_SLUG.$DOMAIN_DEV \
       --set monitoring.grafana.ingress.hosts[0].host="grafana-$CI_ENVIRONMENT_SLUG.$DOMAIN_PROD" \
       --set monitoring.grafana.ingress.hosts[0].paths[0].path="/" \
       --set monitoring.grafana.ingress.hosts[0].paths[0].pathType="Prefix" \