1
0
Fork 0
mirror of https://github.com/dillonzq/LoveIt.git synced 2025-04-12 00:37:37 +02:00

docs: update hugo version

This commit is contained in:
Dillon 2025-02-22 22:54:41 +08:00
parent 4c909c548c
commit cae1d03043

View file

@ -1,19 +1,18 @@
[build]
base = "exampleSite"
publish = "public"
publish = "exampleSite/public"
[build.environment]
HUGO_VERSION = "0.144.2"
HUGO_ENABLEGITINFO = "true"
[context.production]
command = "hugo --theme repo --themesDir ../.. --baseURL ${URL} --gc --minify"
command = "hugo --source exampleSite --theme repo --themesDir ../.. --baseURL ${URL} --gc --minify"
[context.production.environment]
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo --theme repo --themesDir ../.. --baseURL $DEPLOY_PRIME_URL --gc --minify --buildDrafts"
command = "hugo --source exampleSite --theme repo --themesDir ../.. --baseURL ${DEPLOY_PRIME_URL} --gc --minify --buildDrafts"
[context.branch-deploy]
command = "hugo --theme repo --themesDir ../.. --baseURL $DEPLOY_PRIME_URL --gc --minify"
command = "hugo --source exampleSite --theme repo --themesDir ../.. --baseURL ${DEPLOY_PRIME_URL} --gc --minify"