From ef070dad0586d01cbcbdcc70b70d94e376bd421a Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Sat, 31 Aug 2019 18:10:59 +0200 Subject: [PATCH] Updates --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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."