mirror of
https://github.com/lxndrblz/anatole.git
synced 2022-06-11 21:08:13 +03:00
feat: added a netlify.toml for demo site
Added a netlify.toml to allow the automatic creation of a demo site.
This commit is contained in:
14
netlify.toml
Normal file
14
netlify.toml
Normal file
@@ -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 = "*"
|
||||
Reference in New Issue
Block a user