git pull var name update, new clone runs command now
This commit is contained in:
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user