Skip to content

Commit 5fb124d

Browse files
authored
Add hugo version env for branch deploy (#174) (#175)
Signed-off-by: Benjamin Huo <benjamin@kubesphere.io>
1 parent a798560 commit 5fb124d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

netlify.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
[context.deploy-preview.environment]
55
HUGO_VERSION = "0.101.0"
66

7+
[context.branch-deploy.environment]
8+
HUGO_VERSION = "0.101.0"
9+
710
[context.deploy-preview]
811
command = "cd themes/docsy && git submodule update -f --init && cd ../.. && hugo --gc --minify"
912

0 commit comments

Comments
 (0)