This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/website/netlify.toml
jffarge fb10328a2b remove github authentication. Documentation is now public
Signed-off-by: jffarge <jf@dagger.io>
2022-03-29 13:28:45 +02:00

29 lines
509 B
TOML

[build]
publish = "build/"
command = "yarn build"
environment = { NODE_VERSION = "16.13.1" }
[context.production]
ignore = "false"
[context.deploy-preview]
ignore = "false"
[[redirects]]
# Embargoes compliance. DO NOT REMOVE
conditions = {Country = ["CU", "IR", "KP", "SY", "UA"]}
from = "/*"
to = "/restricted"
status = 302
force = true
[[redirects]]
from = "/t"
to = "https://api.amplitude.com"
status = 200
[[redirects]]
from = "/reference"
to = "/reference/alpine"
status = 302