diff options
author | Victoria Drake <24644237+victoriadrake@users.noreply.github.com> | 2020-11-24 13:44:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-24 13:44:42 +0300 |
commit | 26d43c768dd6d62eec034de6cc4f261230f5eaef (patch) | |
tree | 4d8e828c4cb3a8265450129ab5ec828fa36f4282 | |
parent | 7ef1a9eecb686f8f5f27c5d0a4f6c2e4b72f777e (diff) |
Update netlify.toml
Get deploy precise running
-rw-r--r-- | netlify.toml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/netlify.toml b/netlify.toml index 76b6bc4..7a09c9c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -7,7 +7,7 @@ [build] # Directory to change to before starting a build. # This is where we will look for package.json/.nvmrc/etc. - # base = "exampleSite/" + base = "exampleSite/" # Directory (relative to root of your repo) that contains the deploy-ready # HTML files and assets generated by the build. If a base directory has @@ -19,12 +19,12 @@ # Production context: all deploys from the Production branch set in your site's # deploy contexts will inherit these settings. -# [context.production] -# publish = "docs/" -# command = "hugo --gc --minify -t ../.. -d ../docs -v -b /" +[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 # inherit these settings. [context.deploy-preview] publish = "docs/" - command = "echo 'default context'" + command = "hugo --gc --minify -t ../.. -d ../docs -v -b /" |