Skip to content

Commit

Permalink
feat: added a netlify.toml for demo site
Browse files Browse the repository at this point in the history
Added a netlify.toml to allow the automatic creation of a demo site.
  • Loading branch information
lxndrblz committed Dec 26, 2021
1 parent 7602d2e commit 13bc907
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[build]
publish = "exampleSite/public"
command = "cd exampleSite && hugo --gc --minify --themesDir ../.."

[build.environment]
HUGO_VERSION = "0.69.0"
HUGO_ENV = "production"
HUGO_THEME = "repo"
HUGO_BASEURL = "https://anatole-demo.netlify.app"

[[headers]]
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "*"

0 comments on commit 13bc907

Please sign in to comment.