Files
kustomize/site/netlify.toml
Karl Isenberg 2c68a4d2d4 Update site/Dockerfile to use pinned hugo version
Version pinned in hack/go.mod.
Use `make tools` to update the pinned version to match netlify.toml
2024-04-02 14:26:31 -07:00

19 lines
560 B
TOML

[build]
base = "site/"
command = "git submodule update --init --recursive --depth 1 && hugo"
publish = "publishedSite/"
[build.environment]
HUGO_VERSION = "0.120.4"
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