Skip to content

Commit

Permalink
feat: custom commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkey2011 committed Dec 15, 2020
2 parents 887a139 + 290b274 commit e7b75bf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,11 @@ echo "==> Starting deploying"

# Final repository
if [[ -z "$COMMIT_MESSAGE" ]]; then
COMMIT_MSG="Auto deploy from Github Actions"
else
COMMIT_MSG="$COMMIT_MESSAGE"
COMMIT_MESSAGE="Auto deploy from Github Actions"
fi

git add .
git commit -m "$COMMIT_MSG"
git commit -m "$COMMIT_MESSAGE"
git push --force $DEPLOY_REPO master:$DEPLOY_BRAN
rm -fr .git

Expand Down

0 comments on commit e7b75bf

Please sign in to comment.