Permalink
Browse files

Travis: tweak commit message

  • Loading branch information...
1 parent c2e1fec commit 72e80f7b7bce83d0e721ccb8f32f6eb50fb77366 @DarthGandalf DarthGandalf committed Apr 21, 2014
Showing with 6 additions and 2 deletions.
  1. +6 −2 .travis-generate-docs.sh
View
@@ -21,10 +21,14 @@ git config --global user.name "travis-ci"
git clone --branch=gh-pages znc-docs:znc/docs.git gh-pages || exit 1
cd gh-pages
-git rm -rf *
+git rm -rf .
cp -rf "$TRAVIS_BUILD_DIR"/doc/html/* ./ || exit 1
git add .
-git commit -m "Latest docs on successful travis build $TRAVIS_BUILD_NUMBER (commit $TRAVIS_REPO_SLUG/$TRAVIS_COMMIT) auto-pushed to gh-pages"
+git commit -F- <<EOF
+Latest docs on successful travis build $TRAVIS_BUILD_NUMBER
+
+ZNC commit $TRAVIS_REPO_SLUG/$TRAVIS_COMMIT
+EOF
git push origin gh-pages
echo "Published docs to gh-pages."

0 comments on commit 72e80f7

Please sign in to comment.