Skip to content

Commit 921cc56

Browse files
committed
Add netlify configuration.
1 parent a89c3fb commit 921cc56

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

netlify.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Hugo build configuration for Netlify
2+
# (https://gohugo.io/hosting-and-deployment/hosting-on-netlify/#configure-hugo-version-in-netlify)
3+
4+
# Default build settings
5+
[build]
6+
publish = "userguide/public"
7+
command = "git submodule update -f --init && cd userguide && npm install postcss-cli && hugo --themesDir ../.."
8+
9+
# "production" environment specific build settings
10+
[build.environment]
11+
HUGO_VERSION = "0.76.5"
12+
HUGO_THEME = "repo"
13+
HUGO_ENV = "production"

0 commit comments

Comments
 (0)