diff --git a/entrypoint.sh b/entrypoint.sh index 1b27752..68ecc49 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -49,7 +49,8 @@ then # git checkout $PUSH_BRANCH git add . git commit -m "$INPUT_COMMIT_MESSAGE" --author="$INPUT_COMMIT_AUTHOR_NAME <$INPUT_COMMIT_AUTHOR_EMAIL>" || echo "No changes found. Nothing to commit." - git push --set-upstream origin "${GITHUB_REF:11}" + git push -u origin HEAD + # git push --set-upstream origin "${GITHUB_REF:11}" # git push --set-upstream origin $PUSH_BRANCH else echo "Working tree clean. Nothing to commit."