mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2024-12-22 08:06:10 -07:00
Add possible workaround for https://github.com/cpina/github-action-push-to-another-repository/issues/103
This commit is contained in:
parent
0a14457bb2
commit
b65496164f
|
@ -68,6 +68,8 @@ echo "[+] Cloning destination git repository $DESTINATION_REPOSITORY_NAME"
|
|||
git config --global user.email "$USER_EMAIL"
|
||||
git config --global user.name "$USER_NAME"
|
||||
|
||||
git config --global http.version HTTP/1.1
|
||||
|
||||
{
|
||||
git clone --single-branch --depth 1 --branch "$TARGET_BRANCH" "$GIT_CMD_REPOSITORY" "$CLONE_DIR"
|
||||
} || {
|
||||
|
|
Loading…
Reference in New Issue
Block a user