From 56339168954db9208690546fb128cd802df86f75 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 24 Aug 2024 16:10:36 +0200 Subject: [PATCH] refs --- spcd/main.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spcd/main.sh b/spcd/main.sh index ab47ae4..2d486e2 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -121,9 +121,9 @@ ${SPCD_PROJECT_ROOT}$(basename "${GITHUB_SERVER_URL}")" fi # check project variables case "${SPCD_PROJECT_BRANCH}" in - "${SPCD_BRANCH_RELEASE}" | \ - "${SPCD_BRANCH_STAGING}" | \ - "${SPCD_BRANCH_FEATURE}") ;; + "${SPCD_REF_RELEASE}" | \ + "${SPCD_REF_STAGING}" | \ + "${SPCD_REF_FEATURE}") ;; *) spcd_error_ci "SPCD_PROJECT_BRANCH" ;; esac [ -n "${SPCD_PROJECT_ROOT}" ] || spcd_error_ci "SPCD_PROJECT_ROOT"