mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 04:55:30 -04:00
fetch Hugo binary via node for portability
This commit is contained in:
15
netlify.toml
15
netlify.toml
@@ -1,18 +1,15 @@
|
||||
[build.environment]
|
||||
NODE_VERSION = "12.13.1"
|
||||
NPM_VERSION = "6.13.1"
|
||||
YARN_VERSION = "1.21.0"
|
||||
YARN_FLAGS = "--no-ignore-optional --frozen-lockfile"
|
||||
|
||||
[build]
|
||||
command = "yarn build"
|
||||
publish = "public"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "yarn build:preview"
|
||||
publish = "public"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_VERSION = "0.60.1"
|
||||
HUGO_ENV = "production"
|
||||
|
||||
[context.deploy-preview.environment]
|
||||
HUGO_VERSION = "0.60.1"
|
||||
HUGO_ENV = "development"
|
||||
|
||||
|
||||
# The most important headers and redirects are specified in the _headers and
|
||||
|
Reference in New Issue
Block a user