website/netlify.toml
Gabriel Arazas a1f65a29a9 Build with Netlify
Mainly because of `baseURL` issues, I cannot deploy this site properly
with its assets. To fix it, I just have to properly set them and the
easiest way to do so is to build it with Netlify.

With this change, the webring post update will be in a separate workflow
and done in a schedule.
2022-11-28 08:13:04 +08:00

20 lines
475 B
TOML

[build]
publish = "public/"
command = "hugo --gc --minify"
[context.production.environment]
HUGO_VERSION = "0.107.0"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
HUGO_BASE_URL = "$DEPLOY_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.107.0"
HUGO_BASE_URL = "$DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.107.0"
[context.deploy-preview]
command = "hugo --buildDrafts --buildFuture --buildExpired --baseURL $DEPLOY_PRIME_URL"