1
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:
2019-12-03 08:34:12 -05:00
parent 0b62be6226
commit ac0bbc6343
6 changed files with 69 additions and 39 deletions

View File

@@ -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