From 6f1c9227f5d86984a15d4c2d091df3da0c67cc96 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Fri, 20 Sep 2019 10:37:16 +0200 Subject: [PATCH] Fix git push command --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 3cd61e6..4d326c2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -36,7 +36,7 @@ then git commit -m "$INPUT_COMMIT_MESSAGE" --author="$INPUT_COMMIT_AUTHOR_NAME <$INPUT_COMMIT_AUTHOR_EMAIL>" - git push --set-upstream origin $INPUT_REF + git push --set-upstream origin "HEAD:$INPUT_REF" else echo "Working tree clean. Nothing to commit." fi