Skip to content

Commit 4c88434

Browse files
authored
Merge pull request #34356 from sftim/20220617_bump_hugo_version
Bump Hugo to 0.101.0 / avoid locking
2 parents 348eb87 + 100aff9 commit 4c88434

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ container-push: container-image ## Push container image for the preview of the w
7777
container-build: module-check
7878
$(CONTAINER_RUN) --read-only --mount type=tmpfs,destination=/tmp,tmpfs-mode=01777 $(CONTAINER_IMAGE) sh -c "npm ci && hugo --minify --environment development"
7979

80+
# no build lock to allow for read-only mounts
8081
container-serve: module-check ## Boot the development server using container.
81-
$(CONTAINER_RUN) --cap-drop=ALL --cap-add=AUDIT_WRITE --read-only --mount type=tmpfs,destination=/tmp,tmpfs-mode=01777 -p 1313:1313 $(CONTAINER_IMAGE) hugo server --buildFuture --environment development --bind 0.0.0.0 --destination /tmp/hugo --cleanDestinationDir
82+
$(CONTAINER_RUN) --cap-drop=ALL --cap-add=AUDIT_WRITE --read-only --mount type=tmpfs,destination=/tmp,tmpfs-mode=01777 -p 1313:1313 $(CONTAINER_IMAGE) hugo server --buildFuture --environment development --bind 0.0.0.0 --destination /tmp/hugo --cleanDestinationDir --noBuildLock
8283

8384
test-examples:
8485
scripts/test_examples.sh install

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ command = "git submodule update --init --recursive --depth 1 && make non-product
88

99
[build.environment]
1010
NODE_VERSION = "10.20.0"
11-
HUGO_VERSION = "0.97.0"
11+
HUGO_VERSION = "0.101.0"
1212
RUBY_VERSION = "3.0.1"
1313

1414
[context.production.environment]

0 commit comments

Comments
 (0)