mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
ci: fix
This commit is contained in:
parent
c5f07a80c6
commit
a92cd7f34b
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
[build]
|
[build]
|
||||||
command = "hugo --gc --minify -b $URL"
|
command = "hugo --gc --minify -b $URL && npx pagefind --source 'public'"
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
|
@ -10,10 +10,10 @@
|
||||||
HUGO_ENV = "production"
|
HUGO_ENV = "production"
|
||||||
|
|
||||||
[context.deploy-preview]
|
[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]
|
[context.branch-deploy]
|
||||||
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL && npx pagefind --source 'public'"
|
||||||
|
|
||||||
[[plugins]]
|
[[plugins]]
|
||||||
package = "netlify-plugin-hugo-cache-resources"
|
package = "netlify-plugin-hugo-cache-resources"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue