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
|
mv ./${HUGO_BIN}/${HUGO_BIN} $HOME/bin/hugo
|
||||||
|
|
||||||
# Remove existing docs
|
# Remove existing docs
|
||||||
|
if [ -d "./docs" ]; then
|
||||||
rm -r ./docs
|
rm -r ./docs
|
||||||
|
fi
|
||||||
|
|
||||||
# Build docs
|
# Build docs
|
||||||
cd DOCUMENTATION
|
cd DOCUMENTATION
|
||||||
|
|
Loading…
Reference in New Issue