github.com/muhammadn/cortex@v1.9.1-0.20220510110439-46bb7000d03d/netlify.toml (about) 1 [Settings] 2 # All netfliy options should be defined here. UI options should stay empty. 3 4 [build] 5 base = "" 6 publish = "website/public" 7 8 # Our Makefile build hugo, but it's faster if netlify grab the correct version on their own 9 # via simple curl. 10 environment = { HUGO_VERSION="0.59.1" } 11 12 # NOTE: Sleep at then is to make sure logs are not truncated on error. 13 command = "(env && make web-build || (sleep 30; false)" 14 15 [context.deploy-preview] 16 17 # NOTE: Sleep at then is to make sure logs are not truncated on error. 18 command = "(env && make web-build WEBSITE_BASE_URL=${DEPLOY_PRIME_URL}) || (sleep 30; false)"