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"