mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-25 10:50: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]
|
||||
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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue