From fa8a2bfb2a9920a906f0c2f80226fbdc934dfea7 Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Fri, 26 Jan 2018 16:32:29 +0100 Subject: [PATCH] Try to update netlify.toml --- netlify.toml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/netlify.toml b/netlify.toml index 26591ef2..4819cd5f 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,8 +1,10 @@ [build] - base = "docs" - publish = "docs/public" - command = "curl -sL https://github.com/Keats/gutenberg/releases/download/v0.2.1/gutenberg-v0.2.1-x86_64-unknown-linux-gnu.tar.gz | tar zxvf - && /opt/build/repo/docs/gutenberg build" + base = "docs" + publish = "docs/public" + command = "gutenberg build" + +[build.environment] + GUTENBERG_VERSION = "0.3.1" [context.deploy-preview] - command = "curl -sL https://github.com/Keats/gutenberg/releases/download/v0.2.1/gutenberg-v0.2.1-x86_64-unknown-linux-gnu.tar.gz | tar zxvf - && /opt/build/repo/docs/gutenberg build --base-url $DEPLOY_PRIME_URL" - + command = "gutenberg build --base-url $DEPLOY_PRIME_URL"