diff --git a/entrypoint.sh b/entrypoint.sh index 68ecc49..1b27752 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -49,8 +49,7 @@ 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 -u origin HEAD - # git push --set-upstream origin "${GITHUB_REF:11}" + git push --set-upstream origin "${GITHUB_REF:11}" # git push --set-upstream origin $PUSH_BRANCH else echo "Working tree clean. Nothing to commit."