mirror of https://github.com/knative/docs.git
29 lines
713 B
TOML
29 lines
713 B
TOML
# Settings in the [build] context are global and are applied to all contexts
|
|
# unless otherwise overridden by more specific contexts.
|
|
[build]
|
|
command = "./hack/build.sh"
|
|
publish = "site"
|
|
|
|
[build.environment]
|
|
HUGO_VERSION = "0.83.1"
|
|
NODE_VERSION= "14"
|
|
PYTHON_VERSION = "3.8"
|
|
|
|
# Deploy Preview context: all deploys generated from a pull/merge request will
|
|
# inherit these settings.
|
|
[context.deploy-preview]
|
|
publish = "site"
|
|
|
|
# Redirect to point to old versions
|
|
[[redirects]]
|
|
from = "/v0.23-docs/*"
|
|
to = "https://knative.dev/v0.23-docs/"
|
|
|
|
[[redirects]]
|
|
from = "/v0.22-docs/*"
|
|
to = "https://knative.dev/v0.22-docs/"
|
|
|
|
[[redirects]]
|
|
from = "/v0.21-docs/*"
|
|
to = "https://knative.dev/v0.21-docs/"
|