diff --git a/entrypoint.sh b/entrypoint.sh index 00674fb..356b531 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -57,9 +57,9 @@ _local_commit() { _push_to_github() { if [ -n "$INPUT_BRANCH" ] then - git push origin - else git push --set-upstream origin "HEAD:$INPUT_BRANCH" + else + git push origin fi }