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"