Merge pull request #908 from bestlong/fix-hugo-rm-fail

Fixing Travis-CI hugo doc build failed
This commit is contained in:
Winfried 2017-05-07 18:47:56 +02:00 committed by GitHub
commit c6245fdaf8

View File

@ -30,7 +30,9 @@ if [ -n "${HUGO_VERSION}" ]; then
mv ./${HUGO_BIN}/${HUGO_BIN} $HOME/bin/hugo
# Remove existing docs
if [ -d "./docs" ]; then
rm -r ./docs
fi
# Build docs
cd DOCUMENTATION