mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2024-12-22 08:06:10 -07:00
Fix typo
This commit is contained in:
parent
7096925caa
commit
b8ba82a17f
|
@ -33,7 +33,7 @@ echo "[+] Cloning destination git repository $DESTINATION_REPOSITORY_NAME"
|
||||||
git config --global user.email "$USER_EMAIL"
|
git config --global user.email "$USER_EMAIL"
|
||||||
git config --global user.name "$USER_NAME"
|
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=$?
|
GIT_CLONE_EXIT_CODE=$?
|
||||||
|
|
||||||
if [ "$GIT_CLONE_EXIT_CODE" != 0 ]
|
if [ "$GIT_CLONE_EXIT_CODE" != 0 ]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user