From 72e80f7b7bce83d0e721ccb8f32f6eb50fb77366 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Mon, 21 Apr 2014 10:12:49 +0100 Subject: [PATCH] Travis: tweak commit message --- .travis-generate-docs.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis-generate-docs.sh b/.travis-generate-docs.sh index 39e4ee7d..32a004dd 100755 --- a/.travis-generate-docs.sh +++ b/.travis-generate-docs.sh @@ -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- <