Pārlūkot izejas kodu

chore: add Netlify config to build demo site

George Cushen 6 gadi atpakaļ
vecāks
revīzija
205a06bb42
1 mainītis faili ar 9 papildinājumiem un 0 dzēšanām
  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"