mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2026-11-22 10:19:47 -07:00
allow to push into remote, even if brach does not exist
This commit is contained in:
1 parent
eae1cf2f70
commit
9852c86807
1 file changed
+1
-1
+1
-1
@@ -48,4 +48,4 @@ git status
|
|||||||
git diff-index --quiet HEAD || git commit --message "$COMMIT_MESSAGE"
|
git diff-index --quiet HEAD || git commit --message "$COMMIT_MESSAGE"
|
||||||
|
|
||||||
echo "Pushing git commit"
|
echo "Pushing git commit"
|
||||||
git push origin "$TARGET_BRANCH"
|
git push origin -u "$TARGET_BRANCH"
|
||||||
Reference in new issue
Block a user