From c5f010d3cf1e4ceab62586dcf08416495da9a0bb Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Mon, 10 Jun 2019 15:32:31 +0200 Subject: [PATCH] Use ENV Variable for Commit Message --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 19bfd50..cb5aed8 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,5 +6,5 @@ git config --global user.name "Github Actions" git add -A git status -git commit -m "$*" --author="$COMMIT_AUTHOR_NAME <$COMMIT_AUTHOR_EMAIL>" || echo "No changes found. Nothing to commit." +git commit -m "$COMMIT_MESSAGE" --author="$COMMIT_AUTHOR_NAME <$COMMIT_AUTHOR_EMAIL>" || echo "No changes found. Nothing to commit." git push -u origin HEAD