1
0
mirror of https://github.com/stefanzweifel/git-auto-commit-action.git synced 2026-02-02 16:47:19 +08:00
This commit is contained in:
Stefan Zweifel
2020-02-05 21:31:46 +01:00
parent 0884c39e7e
commit 5a4e81ccd7

View File

@@ -57,9 +57,9 @@ _local_commit() {
_push_to_github() { _push_to_github() {
if [ -n "$INPUT_BRANCH" ] if [ -n "$INPUT_BRANCH" ]
then then
git push origin
else
git push --set-upstream origin "HEAD:$INPUT_BRANCH" git push --set-upstream origin "HEAD:$INPUT_BRANCH"
else
git push origin
fi fi
} }