Skip to content

Commit

Permalink
Bump themes and hugo
Browse files Browse the repository at this point in the history
  • Loading branch information
wzshiming committed Jun 24, 2024
1 parent 98f0a81 commit 094ffe7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ publish = "public/"
command = "make build"

[build.environment]
HUGO_VERSION = "0.111.0"
HUGO_VERSION = "0.126.0"

[context.production.environment]
# this controls our robots.txt
Expand Down
4 changes: 2 additions & 2 deletions site/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

HUGO_VERSION = $(shell grep -E '^[[:space:]]*HUGO_VERSION' ../netlify.toml | cut -d '=' -f 2 | tr -d '[:space:]' | tr -d '"')
HUGO_IMAGE = docker.io/klakegg/hugo:$(HUGO_VERSION)-ext
HUGO_IMAGE = docker.io/floryn90/hugo:$(HUGO_VERSION)-ext
HUGO_BINARY = $(shell which hugo)
HUGO_DOCKER = docker run --rm -it --volume $(realpath $(CURDIR)/..):/src -p 1313:1313 --workdir /src/site --entrypoint=hugo $(HUGO_IMAGE)
HUGO = $(if $(HUGO_BINARY),$(HUGO_BINARY),$(HUGO_DOCKER))
Expand All @@ -30,7 +30,7 @@ build: themes/hugo-book
$(HUGO) --enableGitInfo --buildFuture --minify

themes/hugo-book:
git clone --depth 1 --branch v9 https://github.com/alex-shpak/hugo-book $@
git clone --depth 1 --branch v10 https://github.com/alex-shpak/hugo-book $@

.PHONY: check
check: check-version
Expand Down

0 comments on commit 094ffe7

Please sign in to comment.