mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-29 17:41:13 +00:00
Update netlify config (#4732)
* Update netlify config * Update site/netlify.toml
This commit is contained in:
10
netlify.toml
10
netlify.toml
@@ -1,10 +0,0 @@
|
|||||||
[build]
|
|
||||||
base = "site/"
|
|
||||||
command = "hugo"
|
|
||||||
publish = "../publishedSite"
|
|
||||||
|
|
||||||
[context.production.environment]
|
|
||||||
HUGO_VERSION = "0.92.2"
|
|
||||||
|
|
||||||
[context.deploy-preview.environment]
|
|
||||||
HUGO_VERSION = "0.92.2"
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
baseURL = "https://kustomize.io"
|
baseURL = "https://kustomize.io"
|
||||||
title = "Kustomize"
|
title = "Kustomize"
|
||||||
|
|
||||||
publishDir = "../publishedSite"
|
publishDir = "publishedSite"
|
||||||
|
|
||||||
# Language settings
|
# Language settings
|
||||||
contentDir = "content/en"
|
contentDir = "content/en"
|
||||||
|
|||||||
@@ -1,3 +1,19 @@
|
|||||||
[build]
|
[build]
|
||||||
|
base = "site/"
|
||||||
|
command = "git submodule update --init --recursive --depth 1 && hugo"
|
||||||
|
publish = "publishedSite/"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.88.1"
|
HUGO_VERSION = "0.92.2"
|
||||||
|
NODE_ENV = "development"
|
||||||
|
NETLIFY_BUILD_DEBUG = "true"
|
||||||
|
|
||||||
|
[context.deploy-preview]
|
||||||
|
command = "git submodule update --init --recursive --depth 1 && hugo --enableGitInfo --buildFuture -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
|
[context.branch-deploy]
|
||||||
|
ignore = "exit 0" # build PRs (deploy preview env) only, not all branches
|
||||||
|
|
||||||
|
[context.production]
|
||||||
|
ignore = "exit 0" # never deploy production until we're ready to launch
|
||||||
|
|
||||||
|
|||||||
2
site/package-lock.json
generated
2
site/package-lock.json
generated
@@ -11,7 +11,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"autoprefixer": "^10.4.2",
|
"autoprefixer": "^10.4.2",
|
||||||
"postcss": "^8.4.8",
|
"postcss": "^8.4.8",
|
||||||
"postcss-cli": "^9.0.2"
|
"postcss-cli": "^9.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@nodelib/fs.scandir": {
|
"node_modules/@nodelib/fs.scandir": {
|
||||||
|
|||||||
@@ -19,6 +19,6 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"autoprefixer": "^10.4.2",
|
"autoprefixer": "^10.4.2",
|
||||||
"postcss": "^8.4.8",
|
"postcss": "^8.4.8",
|
||||||
"postcss-cli": "^9.0.2"
|
"postcss-cli": "^9.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user