website/netlify.toml
Gabriel Arazas 296ed986c2 Fix the Netlify build for the last time
Apparently, it does not bode well for lockfiles with bundled versions of
bundler. You have to install it explicitly with a Netlify-compatible
version.
2022-11-28 09:45:33 +08:00

25 lines
639 B
TOML

[build]
publish = "public/"
command = "gem install bundler -v '~> 2.3' && bundle && hugo --gc --minify"
[context.production.environment]
RUBY_VERSION = "3.0.4"
HUGO_VERSION = "0.107.0"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
HUGO_BASE_URL = "$DEPLOY_URL"
[context.branch-deploy.environment]
RUBY_VERSION = "3.0.4"
HUGO_VERSION = "0.107.0"
HUGO_ENV = "development"
HUGO_BASE_URL = "$DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
RUBY_VERSION = "3.0.4"
HUGO_ENV = "development"
HUGO_VERSION = "0.107.0"
[context.deploy-preview]
command = "hugo --buildDrafts --buildFuture --buildExpired --baseURL $DEPLOY_PRIME_URL"