fix travis ci hugo job get "cannot create directory" error.
This commit is contained in:
parent
b1144bba7e
commit
d6ff224b0d
|
@ -26,7 +26,7 @@ if [ -n "${HUGO_VERSION}" ]; then
|
|||
|
||||
# Download hugo binary
|
||||
curl -L https://github.com/spf13/hugo/releases/download/v$HUGO_VERSION/$HUGO_PACKAGE.tar.gz | tar xz
|
||||
mkdir $HOME/bin
|
||||
mkdir -p $HOME/bin
|
||||
mv ./${HUGO_BIN}/${HUGO_BIN} $HOME/bin/hugo
|
||||
|
||||
# Remove existing docs
|
||||
|
|
Loading…
Reference in New Issue