diff --git a/cd.sh b/cd.sh index bc4a618..984bbe0 100644 --- a/cd.sh +++ b/cd.sh @@ -42,8 +42,6 @@ cd_main () { cd_set_environment_variables () { cd_step "Set environment variables" # - [ "${CD_CA_1}" ] && CD_CA=true - # case "$(cd_grep_os ID)" in "almalinux") CD_OS_ID="${CD_OS_ALMA}" @@ -149,6 +147,8 @@ Dir::Etc::SourceParts \"\"; ;; *) cd_error_os "CD_OS_ID" ;; esac + # variables + [ "${CD_CA_1}" ] && CD_CA=true # continuous integration platform if [ "${GITHUB_ACTIONS}" ] ; then # forgejo / gitea / github @@ -175,7 +175,7 @@ Dir::Etc::SourceParts \"\"; CD_PROJECTS_URL="${CD_SERVER_URL}/${CD_PROJECTS_GROUP}" CD_PROJECT_URL="${CD_PROJECTS_URL}/${CD_PROJECT_NAME}" # - cd_echo "CD_CA" "CD_CA_ROOT" + cd_echo "CD_CA_ROOT" cd_split cd_echo "CD_OS_ID" "CD_OS_VERSION" cd_split @@ -190,6 +190,8 @@ Dir::Etc::SourceParts \"\"; cd_split cd_echo "CD_PYTHON_COMMAND" "CD_PYTHON_PACKAGE" "CD_PYTHON_PACKAGES" cd_split + cd_echo "CD_CA" + cd_split cd_echo "CD_SERVER_URL" \ "CD_PROJECTS_GROUP" "CD_PROJECT_NAME" "CD_PROJECT_BRANCH" cd_split