diff --git a/docs/.gitlab-ci.yml b/docs/.gitlab-ci.yml
index 63589a3ea27f2da4b73b3e39d51ac0369d7c4fc4..4b40df83b2ca766a891dadf2ea65117ecb649b2b 100644
--- a/docs/.gitlab-ci.yml
+++ b/docs/.gitlab-ci.yml
@@ -52,7 +52,7 @@ publish-prod-2:
     refs:
       - main  # Only publish when on the main branch
   needs:
-    - job: lint-documentation
+    - job: build-documentation
       artifacts: true
 
   script:
@@ -70,7 +70,7 @@ publish-prod-1:
       - main  # Only publish when on the main branch
 
   needs:
-    - job: lint-documentation
+    - job: build-documentation
       artifacts: true
 
   script: