Skip to content

Commit 530460d

Browse files
author
Tim Bannister
committed
Fix Netlify configuration
1 parent 1c250e4 commit 530460d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

netlify.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ command = "git submodule update --init --recursive --depth 1 && make non-product
1010
NODE_VERSION = "20.17.0"
1111
HUGO_VERSION = "0.133.0"
1212

13-
[context.production.environment]
14-
HUGO_BASEURL = "https://kubernetes.io/"
15-
HUGO_ENV = "production"
16-
HUGO_ENABLEGITINFO = "true"
17-
1813
[context.deploy-preview]
1914
command = "git submodule update --init --recursive --depth 1 && make deploy-preview && npx -y pagefind --site public"
2015

@@ -28,3 +23,8 @@ command = "git submodule update --init --recursive --depth 1 && make non-product
2823
# Ref: https://docs.netlify.com/configure-builds/file-based-configuration/#deploy-contexts
2924
publish = "public"
3025
command = "git submodule update --init --recursive --depth 1 && make production-build && npx -y pagefind --site public"
26+
27+
[context.production.environment]
28+
HUGO_BASEURL = "https://kubernetes.io/"
29+
HUGO_ENV = "production"
30+
HUGO_ENABLEGITINFO = "true"

0 commit comments

Comments
 (0)