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