From 239c7e9ff9b1e5d6bef23d81167970cfd53b30d6 Mon Sep 17 00:00:00 2001 From: Pixelastic Date: Thu, 4 Oct 2018 16:04:04 +0200 Subject: [PATCH] Configuring Netlify deploy-previews --- netlify.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/netlify.toml b/netlify.toml index 80435b6d..ba16b1ee 100644 --- a/netlify.toml +++ b/netlify.toml @@ -8,3 +8,8 @@ # Deploy documentation website on each commit on master [context.master] command = "./scripts/netlify-master" + +# Deploy previews on each PR +[context.deploy-preview] + command = "yarn run docs:build" + publish = "docs/dist"