diff --git a/bin/compile b/bin/compile index c2d42f8..25f02eb 100755 --- a/bin/compile +++ b/bin/compile @@ -14,7 +14,7 @@ CACHE_DIR=$2 ENV_DIR=$3 # Default Hugo version -DEFAULT_HUGO_VERSION="0.26" +DEFAULT_HUGO_VERSION="0.139.3" # attempt to extract the HUGO_VERSION parameter form the Heroku configuration vars, fall back to the default version if unavailable if [ -d "$ENV_DIR" -a -e "$ENV_DIR/HUGO_VERSION" ]; then @@ -27,7 +27,7 @@ fi # Hugo URL ( download from GH builds ) RELEASE_NAME=hugo_${HUGO_VERSION}_Linux-64bit FILE_NAME=${RELEASE_NAME}.tar.gz -HUGO_PACKAGE=https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/${FILE_NAME} +HUGO_PACKAGE=https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/${FILE_NAME} # Store the hugo package in the cache_dir ( persistent across builds ) mkdir -p $CACHE_DIR diff --git a/bin/release b/bin/release index 88f41e7..0bebabe 100755 --- a/bin/release +++ b/bin/release @@ -3,5 +3,5 @@ cat << EOF --- default_process_types: - web: "cd public && python -m SimpleHTTPServer \$PORT" + web: "./hugo server --disableLiveReload --bind 0.0.0.0 --port \$PORT -b \$BASEURL --appendPort=false" EOF