mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 18:15:31 +00:00
ci: fix
This commit is contained in:
1 parent
c5f07a80c6
commit
a92cd7f34b
1 file changed
+3
-3
@@ -1,5 +1,5 @@
|
||||
[build]
|
||||
command = "hugo --gc --minify -b $URL"
|
||||
command = "hugo --gc --minify -b $URL && npx pagefind --source 'public'"
|
||||
publish = "public"
|
||||
|
||||
[build.environment]
|
||||
@@ -10,10 +10,10 @@
|
||||
HUGO_ENV = "production"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
|
||||
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL && npx pagefind --source 'public'"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
||||
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL && npx pagefind --source 'public'"
|
||||
|
||||
[[plugins]]
|
||||
package = "netlify-plugin-hugo-cache-resources"
|
||||
|
||||
Reference in new issue
Block a user