Эх сурвалжийг харах

chore: add Netlify config to build demo site

George Cushen 6 жил өмнө
parent
commit
205a06bb42
1 өөрчлөгдсөн 9 нэмэгдсэн , 0 устгасан
  1. 9 0
      netlify.toml

+ 9 - 0
netlify.toml

@@ -0,0 +1,9 @@
+[build]
+  command = "hugo --themesDir ../../ -t hugo-academic"
+  base    = "exampleSite"
+  publish = "exampleSite/public"
+  HUGO_VERSION = "0.53"
+  HUGO_ENABLEGITINFO = "true"
+
+[context.production.environment]
+  HUGO_ENV = "production"