2019-02-07 13:54:45 +01:00
|
|
|
[build]
|
|
|
|
publish = "_build/html"
|
|
|
|
command = "make netlify"
|
2019-02-09 09:28:58 +01:00
|
|
|
environment = { BASE_URL = "https://esphome.io" }
|
2019-02-07 13:54:45 +01:00
|
|
|
|
|
|
|
[context.beta]
|
2019-02-09 09:28:58 +01:00
|
|
|
environment = { BASE_URL = "https://beta.esphome.io" }
|
2019-02-07 13:54:45 +01:00
|
|
|
|
2019-02-17 10:28:43 +01:00
|
|
|
[context.next]
|
|
|
|
environment = { BASE_URL = "https://next.esphome.io" }
|
|
|
|
|
2019-02-17 10:32:40 +01:00
|
|
|
[context.production]
|
|
|
|
environment = { BASE_URL = "https://esphome.io", PRODUCTION = "YES" }
|
|
|
|
|
2019-02-07 13:54:45 +01:00
|
|
|
# A basic redirect rule
|
|
|
|
[[redirects]]
|
|
|
|
from = "/esphomeyaml/*"
|
|
|
|
to = "/:splat"
|