Skip to content

Commit

Permalink
demo: re-add netlify.toml for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
gcushen committed Dec 30, 2020
1 parent 43b3606 commit 3147783
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions exampleSite/netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[build]
command = "hugo --gc --minify -b $URL"
publish = "public"

[build.environment]
HUGO_VERSION = "0.79.1"
HUGO_ENABLEGITINFO = "true"

[context.production.environment]
HUGO_ENV = "production"

[context.deploy-preview]
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"

[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"

[[headers]]
for = "*.webmanifest"
[headers.values]
Content-Type = "application/manifest+json; charset=UTF-8"

[[headers]]
for = "index.xml"
[headers.values]
Content-Type = "application/rss+xml"

0 comments on commit 3147783

Please sign in to comment.