This commit is contained in:
Carles Pina i Estany 2021-12-14 23:48:39 +00:00
parent 7096925caa
commit b8ba82a17f

View File

@ -33,7 +33,7 @@ echo "[+] Cloning destination git repository $DESTINATION_REPOSITORY_NAME"
git config --global user.email "$USER_EMAIL"
git config --global user.name "$USER_NAME"
=git clone --single-branch --branch "$TARGET_BRANCH" "https://$USER_NAME:$API_TOKEN_GITHUB@$GITHUB_SERVER/$DESTINATION_REPOSITORY_USERNAME/$DESTINATION_REPOSITORY_NAME.git" "$CLONE_DIR"
git clone --single-branch --branch "$TARGET_BRANCH" "https://$USER_NAME:$API_TOKEN_GITHUB@$GITHUB_SERVER/$DESTINATION_REPOSITORY_USERNAME/$DESTINATION_REPOSITORY_NAME.git" "$CLONE_DIR"
GIT_CLONE_EXIT_CODE=$?
if [ "$GIT_CLONE_EXIT_CODE" != 0 ]