Explorar o código

chore: add Netlify config to build demo site

George Cushen %!s(int64=6) %!d(string=hai) anos
pai
achega
205a06bb42
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  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"