ci: upgrade hugo version to 0.85.0

Use official version of plugin `netlify-plugin-hugo-cache-resources`
This commit is contained in:
Jimmy Cai 2021-07-09 13:12:03 +02:00
parent 28ab0dd980
commit 5d1a7b8768

View File

@ -2,7 +2,7 @@
publish = "exampleSite/public" publish = "exampleSite/public"
[build.environment] [build.environment]
HUGO_VERSION = "0.79.0" HUGO_VERSION = "0.85.0"
HUGO_THEME = "repo" HUGO_THEME = "repo"
[context.production] [context.production]
@ -17,4 +17,10 @@
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}" command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}"
[[plugins]] [[plugins]]
package = "/exampleSite/plugins/netlify-plugin-hugo-cache-resources" package = "netlify-plugin-hugo-cache-resources"
[plugins.inputs]
# If it should show more verbose logs (optional, default = true)
debug = true
# Relative path to source directory in case you use Hugo's "--s" option
srcdir = "exampleSite"