mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-28 19:43:31 +08:00
fix: readding the removed config
1. We have a running build . 2. lets re-add all config entries now
This commit is contained in:
parent
241bdb7101
commit
005c41b0e4
21
netlify.toml
21
netlify.toml
@ -1,6 +1,25 @@
|
|||||||
[build]
|
[build]
|
||||||
publish = "public"
|
publish = "public"
|
||||||
command = "hugo"
|
command = "hugo --gc --minify"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.142.0"
|
HUGO_VERSION = "0.142.0"
|
||||||
|
|
||||||
|
[context.production]
|
||||||
|
command = "hugo --gc --minify -b https://blog.gearlama.com"
|
||||||
|
[context.production.environment]
|
||||||
|
HUGO_ENV = "production"
|
||||||
|
|
||||||
|
[context.deploy-preview]
|
||||||
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
|
[context.branch-deploy]
|
||||||
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
|
[[plugins]]
|
||||||
|
package = "netlify-plugin-hugo-cache-resources"
|
||||||
|
|
||||||
|
[plugins.inputs]
|
||||||
|
debug = true
|
||||||
|
srcdir = "."
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user