Merge pull request #1072 from bestlong/fix-travis-ci-hugo-job-failed
fix travis ci hugo job get "cannot create directory" error.
This commit is contained in:
commit
82219ededb
@ -26,7 +26,7 @@ if [ -n "${HUGO_VERSION}" ]; then
|
|||||||
|
|
||||||
# Download hugo binary
|
# Download hugo binary
|
||||||
curl -L https://github.com/spf13/hugo/releases/download/v$HUGO_VERSION/$HUGO_PACKAGE.tar.gz | tar xz
|
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
|
mv ./${HUGO_BIN}/${HUGO_BIN} $HOME/bin/hugo
|
||||||
|
|
||||||
# Remove existing docs
|
# Remove existing docs
|
||||||
|
Loading…
Reference in New Issue
Block a user