fix: netlify script

This commit is contained in:
Junyi Hou 2024-11-18 14:32:07 +08:00
parent 40ec45006c
commit c9043c7fcb

View File

@ -1,13 +1,13 @@
[build] [build]
publish = "exampleSiteMultilingual/public" publish = "exampleSiteMultilingual/public"
command = "cd exampleSiteMultilingual && hugo --theme hugo-theme-anubis2 --themesDir=../.. --baseURL $URL" command = "cd exampleSiteMultilingual && hugo --themesDir=../.. --baseURL $URL"
[build.environment] [build.environment]
HUGO_VERSION = "0.136.5" HUGO_VERSION = "0.136.5"
HUGO_THEME = "repo" HUGO_THEME = "repo"
[context.deploy-preview] [context.deploy-preview]
command = "cd exampleSiteMultilingual && hugo --theme hugo-theme-anubis2 --themesDir=../.. --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL" command = "cd exampleSiteMultilingual && hugo --themesDir=../.. --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL"
[[headers]] [[headers]]
for = "/*" for = "/*"