mirror of
https://github.com/tiennm99/hugoThemesSiteBuilder.git
synced 2026-10-11 03:13:31 +00:00
They have been very unreliable lately, presumably due people moving repos over from GitHub for similar reasons. Oh, the irony. Note that we could build using a Go proxy, which would have fixed the problem and made the builds faster, but people submitting the themes have not opted having their theme mirrored in a Go proxy server.
18 lines
788 B
TOML
18 lines
788 B
TOML
[build]
|
|
base = "cmd/hugothemesitebuilder/build/site"
|
|
publish = "public"
|
|
command = "./build.sh"
|
|
ignore = "/bin/false"
|
|
|
|
# No need to specify environment variables for each context (production, deploy-preview & branch-deploy).
|
|
# From https://docs.netlify.com/configure-builds/file-based-configuration/#deploy-contexts
|
|
# any property of a context-aware key, such as [build] or [[plugins]], will be applied to all contexts
|
|
# unless the same property key is present in a more specific context.
|
|
|
|
[build.environment]
|
|
HUGO_VERSION = "0.166.0"
|
|
GO_VERSION = "1.26.0"
|
|
# Uncomment to leave the themes of one or more unstable Git hosts out
|
|
# of the build (they will be missing from the site until removed again).
|
|
HUGO_THEMES_SKIP_HOSTS = "codeberg.org"
|