소스 검색

chore: add Netlify config to build demo site

George Cushen 6 년 전
부모
커밋
a19b8b8883
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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]