fix hugo doc build failed
This commit is contained in:
parent
08b35e63d6
commit
c539c630ed
|
@ -30,7 +30,9 @@ if [ -n "${HUGO_VERSION}" ]; then
|
|||
mv ./${HUGO_BIN}/${HUGO_BIN} $HOME/bin/hugo
|
||||
|
||||
# Remove existing docs
|
||||
rm -r ./docs
|
||||
if [ -d "./docs" ]; then
|
||||
rm -r ./docs
|
||||
fi
|
||||
|
||||
# Build docs
|
||||
cd DOCUMENTATION
|
||||
|
|
Loading…
Reference in New Issue