diff --git a/entrypoint.sh b/entrypoint.sh index 356b531..5c5d385 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -55,7 +55,7 @@ _local_commit() { } _push_to_github() { - if [ -n "$INPUT_BRANCH" ] + if [ -z "$INPUT_BRANCH" ] then git push --set-upstream origin "HEAD:$INPUT_BRANCH" else