From eff701c7835b0c417a58ae3c744f69b3204ded87 Mon Sep 17 00:00:00 2001
From: David Gilbert <david.gilbert@rwth-aachen.de>
Date: Mon, 8 Jan 2024 15:01:29 +0100
Subject: [PATCH] Adjusts deprecated only to rules

---
 shared_scripts.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/shared_scripts.yml b/shared_scripts.yml
index a1d06ca..392a93f 100644
--- a/shared_scripts.yml
+++ b/shared_scripts.yml
@@ -18,9 +18,9 @@ variables:
 
 .Generate_Project_:
   stage: generate
-  only: 
-    - web
-    - schedules
+  rules: 
+    - if: $CI_PIPELINE_SOURCE == "web"
+    - if: $CI_PIPELINE_SOURCE == "schedule"
   tags:
     - linux
     - docker-executor
-- 
GitLab