Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update netlify config #4732

Merged
merged 2 commits into from Jul 29, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 0 additions & 10 deletions netlify.toml

This file was deleted.

2 changes: 1 addition & 1 deletion site/config.toml
@@ -1,7 +1,7 @@
baseURL = "https://kustomize.io"
title = "Kustomize"

publishDir = "../publishedSite"
publishDir = "publishedSite"

# Language settings
contentDir = "content/en"
Expand Down
19 changes: 18 additions & 1 deletion site/netlify.toml
@@ -1,3 +1,20 @@
[build]
base = "site/"
command = "git submodule update --init --recursive --depth 1 && hugo"
publish = "publishedSite/"
ignore = "exit 1"
KnVerey marked this conversation as resolved.
Show resolved Hide resolved

[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 changes: 1 addition & 1 deletion site/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion site/package.json
Expand Up @@ -19,6 +19,6 @@
"devDependencies": {
"autoprefixer": "^10.4.2",
"postcss": "^8.4.8",
"postcss-cli": "^9.0.2"
"postcss-cli": "^9.1.0"
}
}