24 lines
748 B
TOML
24 lines
748 B
TOML
|
|
[build]
|
||
|
|
publish = "exampleSite/public"
|
||
|
|
command = """\
|
||
|
|
curl -LJO https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz && \
|
||
|
|
tar -xf dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz && \
|
||
|
|
rm dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz && \
|
||
|
|
export PATH=/opt/build/repo/dart-sass:$PATH && \
|
||
|
|
cd exampleSite && \
|
||
|
|
hugo --gc --minify --themesDir ../.. \
|
||
|
|
"""
|
||
|
|
|
||
|
|
[build.environment]
|
||
|
|
HUGO_VERSION = "0.147.8"
|
||
|
|
DART_SASS_VERSION = "1.89.2"
|
||
|
|
NODE_VERSION = "22"
|
||
|
|
GO_VERSION = "1.24.3"
|
||
|
|
HUGO_ENV = "production"
|
||
|
|
HUGO_THEME = "repo"
|
||
|
|
HUGO_BASEURL = "https://anatole-demo.netlify.app"
|
||
|
|
|
||
|
|
[[headers]]
|
||
|
|
for = "/*"
|
||
|
|
[headers.values]
|
||
|
|
Access-Control-Allow-Origin = "*"
|