diff --git a/docs/config/_default/params.yaml b/docs/config/_default/params.yaml index eb774a5027..b29294f096 100644 --- a/docs/config/_default/params.yaml +++ b/docs/config/_default/params.yaml @@ -5,6 +5,8 @@ github_subdir: docs versions: - url: /docs/ + version: branch-preview + - url: https://main.lifecycle-test.keptn.sh/docs version: development - - url: https://lifecycle.keptn.sh - version: production + - url: https://lifecycle-test.keptn.sh/docs + version: latest diff --git a/docs/config/production/params.yaml b/docs/config/production/params.yaml index 8b55de75d4..0bbe369e48 100644 --- a/docs/config/production/params.yaml +++ b/docs/config/production/params.yaml @@ -1,4 +1,4 @@ versions: - - url: https://dev.lifecycle-test.keptn.sh + - url: https://main.lifecycle-test.keptn.sh/docs version: development github_branch: pages diff --git a/docs/config/staging/params.yaml b/docs/config/staging/params.yaml new file mode 100644 index 0000000000..a2e4aa0d5a --- /dev/null +++ b/docs/config/staging/params.yaml @@ -0,0 +1,5 @@ +versions: + - url: /docs/ + version: development + - url: https://lifecycle-test.keptn.sh/docs + version: latest diff --git a/netlify.toml b/netlify.toml index 39beb71244..b215e761a9 100644 --- a/netlify.toml +++ b/netlify.toml @@ -10,8 +10,10 @@ HUGO_VERSION = "0.105.0" HUGO_ENABLEGITINFO = "true" [context.deploy-preview] +HUGO_ENV = "development" [context.branch-deploy] +HUGO_ENV = "staging" [context.production.environment] HUGO_ENV = "production"