From 6e5953d11785ac28d802223a3c04dd5762c6ef9e Mon Sep 17 00:00:00 2001 From: Krish Moodbidri <krish94@uab.edu> Date: Wed, 2 Oct 2024 11:16:47 -0500 Subject: [PATCH] correct rules format for deploy_ood_proxy_node - Updated the `rules` section to be an array containing hashes and arrays of hashes --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2ffab27..cadedd5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -69,4 +69,6 @@ deploy_ood_proxy_node: # Store the instance ID in variables.env for later use echo "PROXY_INSTANCE_ID=$PROXY_INSTANCE_ID" >> $CI_PROJECT_DIR/variables.env rules: - when: manual + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + - if: $CI_PIPELINE_SOURCE == 'schedule' + - when: manual -- GitLab