mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-02-07 06:19:04 +00:00
![Gabriel Arazas](/assets/img/avatar_default.png)
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.
20 lines
475 B
TOML
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"
|