website/netlify.toml

30 lines
890 B
TOML
Raw Normal View History

2022-11-27 12:08:57 +00:00
[build]
publish = "public/"
command = "gem install bundler -v '~> 2.3' && bundle && hugo --gc --minify"
2022-11-27 12:08:57 +00:00
2022-11-28 02:12:57 +00:00
[context.production]
command = "gem install bundler -v '~> 2.3' && bundle && hugo --gc --minify --baseURL $URL"
2022-11-27 10:56:32 +00:00
[context.production.environment]
RUBY_VERSION = "3.0.4"
HUGO_VERSION = "0.107.0"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
2022-11-28 02:12:57 +00:00
2022-11-28 02:28:16 +00:00
[context.branch-deploy]
2022-11-28 02:12:57 +00:00
command = "gem install bundler -v '~> 2.3' && bundle && hugo --buildDrafts --buildFuture --buildExpired --baseURL $DEPLOY_PRIME_URL"
2022-11-27 10:56:32 +00:00
2022-11-27 12:08:57 +00:00
[context.branch-deploy.environment]
RUBY_VERSION = "3.0.4"
HUGO_VERSION = "0.107.0"
HUGO_ENV = "development"
2022-11-28 02:12:57 +00:00
[context.deploy-preview]
command = "gem install bundler -v '~> 2.3' && bundle && hugo --buildDrafts --buildFuture --buildExpired --baseURL $DEPLOY_PRIME_URL"
2022-11-27 10:56:32 +00:00
2022-11-27 12:08:57 +00:00
[context.deploy-preview.environment]
RUBY_VERSION = "3.0.4"
HUGO_ENV = "development"
HUGO_VERSION = "0.107.0"