From 435ab0ede764bbbdd04da6a3009474b78a0ef226 Mon Sep 17 00:00:00 2001
From: Karel van Klink <karel.vanklink@geant.org>
Date: Fri, 14 Jul 2023 10:31:29 +0200
Subject: [PATCH] remove redundant 'needs' restrictions on CI pipeline

Signed-off-by: Karel van Klink <karel.vanklink@geant.org>
---
 docs/.gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/.gitlab-ci.yml b/docs/.gitlab-ci.yml
index c64542d..33170a1 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  # ... and after it has passed the linting pipeline
+    - job: build-documentation
       artifacts: true
 
   script:
@@ -67,7 +67,7 @@ publish-prod-1:
     - gap-docs-prod-1
 
   needs:
-    - job: publish-prod-2  # Only run when publishing to prod-2 was successful
+    - job: build-documentation
       artifacts: true
 
   script:
-- 
GitLab