doc: use git add -A to pick up deleted files in travis

pull/1881/head
Qingping Hou 8 years ago
parent 09eb49531c
commit 2c23f79098

@ -31,7 +31,7 @@ if [ ${TRAVIS_PULL_REQUEST} = false ] && [ ${TRAVIS_BRANCH} = 'master' ]; then
cp -r doc/html/* koreader_doc/
pushd koreader_doc
git add .
git add -A
echo -e "\n${ANSI_GREEN}Pusing document update..."
git -c user.name="KOReader build bot" -c user.email="non-reply@koreader.rocks" \
commit -a --amend -m 'Automated documentation build from travis-ci.'

Loading…
Cancel
Save