hugo-theme-introduction/netlify.toml

29 lines
1 KiB
TOML
Raw Normal View History

2019-03-18 18:03:40 +00:00
[Settings]
# Settings in the [build] context are global and are applied to all contexts
# unless otherwise overridden by more specific contexts.
2019-03-18 18:03:40 +00:00
[build]
# Directory to change to before starting a build.
2019-03-18 18:03:40 +00:00
# This is where we will look for package.json/.nvmrc/etc.
base = "exampleSite/"
# Directory (relative to root of your repo) that contains the deploy-ready
2019-03-18 18:03:40 +00:00
# HTML files and assets generated by the build. If a base directory has
# been specified, include it in the publish directory path.
publish = "docs/"
# Default build command.
command = "echo 'default context'"
# Production context: all deploys from the Production branch set in your site's
2019-03-18 18:03:40 +00:00
# deploy contexts will inherit these settings.
[context.production]
publish = "docs/"
command = "hugo --gc --minify -t ../.. -d ../docs -v -b /"
# Deploy Preview context: all deploys resulting from a pull/merge request will
2019-03-18 18:03:40 +00:00
# inherit these settings.
[context.deploy-preview]
publish = "docs/"
command = "hugo --gc --minify -t ../.. -d ../docs -v -b /"