浏览代码

feat: add netlify build config

pull/2/head
Vivek R 5 年前
父节点
当前提交
e890d56aff
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. +8
    -0
      netlify.toml

+ 8
- 0
netlify.toml 查看文件

@@ -0,0 +1,8 @@
[build]
publish = "exampleSite/public"
command = "cd exampleSite && hugo --gc --themesDir ../.."

[build.environment]
HUGO_VERSION = "0.51"
HUGO_THEME = "repo"
HUGO_BASEURL = "/"

正在加载...
取消
保存