mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2024-12-22 08:06:10 -07:00
allow to push into remote, even if brach does not exist
This commit is contained in:
parent
eae1cf2f70
commit
9852c86807
|
@ -48,4 +48,4 @@ git status
|
|||
git diff-index --quiet HEAD || git commit --message "$COMMIT_MESSAGE"
|
||||
|
||||
echo "Pushing git commit"
|
||||
git push origin "$TARGET_BRANCH"
|
||||
git push origin -u "$TARGET_BRANCH"
|
||||
|
|
Loading…
Reference in New Issue
Block a user