From ef8610f6dfb526e2818b28fd3776d5e45805d3c7 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Fri, 20 Sep 2019 09:56:20 +0200 Subject: [PATCH] Fix git push --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 47d6a80..a2b8873 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -34,7 +34,7 @@ then git commit -m "$INPUT_COMMIT_MESSAGE" --author="$INPUT_COMMIT_AUTHOR_NAME <$INPUT_COMMIT_AUTHOR_EMAIL>" - git push --set-upstream origin $PUSH_BRANCH + git push --set-upstream origin HEAD:"$PUSH_BRANCH" else echo "Working tree clean. Nothing to commit." fi