git pull var name update, new clone runs command now

This commit is contained in:
2025-07-04 14:40:25 +09:00
parent bc7013223f
commit 0136001997
2 changed files with 8 additions and 7 deletions

View File

@@ -62,7 +62,6 @@ GIT_REPOSITORY_FOLDER=$(basename "${REPOSITORY}" .git);
echo "* New clone from ${REMOTE_HOST}:${REPOSITORY}::${BRANCH} into ${GIT_REPOSITORY_FOLDER}";
GIT_COMMAND=("${GIT_COMMAND_BASE[@]}" "clone" "-b" "${BRANCH}" "--single-branch" "--depth" "1" "--origin" "${REMOTE_NAME}" "${REMOTE_HOST}:${REPOSITORY}" "${GIT_WEBHOOK_BASE_FOLDER}${CLONE_BASE}${GIT_REPOSITORY_FOLDER}")
echo "Command: ${GIT_COMMAND[*]}"
# "${GIT_COMMAND[@]}";
"${GIT_COMMAND[@]}";
# __END__