diff options
author | Curtis Timson <curt@live.co.uk> | 2019-03-29 18:03:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-29 18:03:46 +0300 |
commit | 7bd7a83100cf2c96b3f3dfa0b2433591c6534d69 (patch) | |
tree | be220ff9afcb9e8e25fe906f8282e6a60139def2 /netlify.toml | |
parent | 8d5175ef4571ead3ca8262383caef16e3c538124 (diff) |
Hugo Build Version in Code (#60)5.0.0
* Add .env file
* Upgrade hugo version to 0.54.0
* Add netlify.toml to exampleSite
* Update netlify.toml
* Bump major version
* Remove unused scripts section of package json
* Add [context.branch-deploy.environment]
* Move netlify.toml to root of repo
* Add themesDir to configs
* Remove theme property
* Remove commented code
* Readd theme property to config
* Add build commands to code
* Add themesDir to netlify command
* Add hugo-theme-massively symlink
* Update netlify command
* Update netlify toml
* Update min_version in theme toml
Diffstat (limited to 'netlify.toml')
-rw-r--r-- | netlify.toml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..6c869bb --- /dev/null +++ b/netlify.toml @@ -0,0 +1,7 @@ +[build] + publish = "exampleSite/public" + command = "cd exampleSite && hugo --gc --themesDir ../.. --config config-prod.toml" + +[build.environment] + HUGO_VERSION = "0.54.0" + HUGO_THEME = "repo"
\ No newline at end of file |