summaryrefslogtreecommitdiffhomepage
path: root/themes/docsy/netlify.toml
diff options
context:
space:
mode:
authorIan Lewis <ianmlewis@gmail.com>2019-10-18 00:19:24 -0400
committerIan Lewis <ianlewis@google.com>2019-11-13 13:03:16 -0800
commita2b055de52cb90180ad57c26119fe72e61d70494 (patch)
treea156c39ba5e044fa42600a6c2d7ddd7dd91c350c /themes/docsy/netlify.toml
parentcf5b8ec088eac99ede97a6c9e381485695638dee (diff)
Updated to Docsy HEAD
This updates the vendored docsy to https://github.com/google/docsy/tree/1a09abe6d7eaf02e44f79de3eadf8178a3792e81
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"