summaryrefslogtreecommitdiffhomepage
path: root/themes/docsy/netlify.toml
diff options
context:
space:
mode:
Diffstat (limited to 'themes/docsy/netlify.toml')
-rw-r--r--themes/docsy/netlify.toml13
1 files changed, 13 insertions, 0 deletions
diff --git a/themes/docsy/netlify.toml b/themes/docsy/netlify.toml
new file mode 100644
index 000000000..27d4db625
--- /dev/null
+++ b/themes/docsy/netlify.toml
@@ -0,0 +1,13 @@
+# Hugo build configuration for Netlify
+# (https://gohugo.io/hosting-and-deployment/hosting-on-netlify/#configure-hugo-version-in-netlify)
+
+# Default build settings
+[build]
+ publish = "userguide/public"
+ command = "git submodule update -f --init && cd userguide && npm install postcss-cli && hugo --themesDir ../.."
+
+# "production" environment specific build settings
+[build.environment]
+ HUGO_VERSION = "0.55.6"
+ HUGO_THEME = "repo"
+ HUGO_ENV = "production"