Merge pull request #908 from bestlong/fix-hugo-rm-fail
Fixing Travis-CI hugo doc build failed
This commit is contained in:
commit
c6245fdaf8
@ -30,7 +30,9 @@ if [ -n "${HUGO_VERSION}" ]; then
|
|||||||
mv ./${HUGO_BIN}/${HUGO_BIN} $HOME/bin/hugo
|
mv ./${HUGO_BIN}/${HUGO_BIN} $HOME/bin/hugo
|
||||||
|
|
||||||
# Remove existing docs
|
# Remove existing docs
|
||||||
rm -r ./docs
|
if [ -d "./docs" ]; then
|
||||||
|
rm -r ./docs
|
||||||
|
fi
|
||||||
|
|
||||||
# Build docs
|
# Build docs
|
||||||
cd DOCUMENTATION
|
cd DOCUMENTATION
|
||||||
|
Loading…
Reference in New Issue
Block a user