Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Custom deploy message for gh-pages #913
I try to change the default commit message for gh-pages to one with an environment variable of the build. My deploy configuration in .travis.yml looks like this:
But Travis is still deploying with the default commit message and I couldn't find any solution to this after further research. Am I missing something?
In past I deploy my site to GitHub Pages, use
commitHash=$(git rev-parse HEAD) commitMessage=$(git log -1 --pretty=%B) detailedMessage="Commit https://github.com/$TRAVIS_REPO_SLUG/commit/$commitHash pushed to GitHub Pages by Travis CI build $TRAVIS_BUILD_NUMBER — https://travis-ci.org/$TRAVIS_REPO_SLUG/builds/$TRAVIS_BUILD_ID" git commit -m "$commitMessage" -m "$detailedMessage"
It would be nice, if would be possible similar commit messages
Interested as well in this feature! It would be awesome to have the possibility of specifying a custom message, when done manually I always used something similar as @Kristinita comment, which includes:
It actually would be enough to allow committing from the
Jun 18, 2018
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue in 24 hours. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues