From af7b14b2cfed28c43705a1982b6a022d01276aa1 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Wed, 5 Feb 2020 21:32:57 +0100 Subject: [PATCH] WIP --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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