Parcourir la source

chore: add Netlify config to build demo site

George Cushen il y a 6 ans
Parent
commit
a19b8b8883
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      netlify.toml

+ 2 - 1
netlify.toml

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