From 35d306e4e17a826e884c36e47159a20859c393aa Mon Sep 17 00:00:00 2001 From: Matt Stratton Date: Mon, 30 Jan 2017 16:50:01 -0600 Subject: [PATCH] Remove gulp from deploy previews --- bin/netlify.sh | 1 - netlify.toml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/netlify.sh b/bin/netlify.sh index 17c5a87c1..55eeb115f 100755 --- a/bin/netlify.sh +++ b/bin/netlify.sh @@ -2,4 +2,3 @@ ln -s /opt/build/repo /opt/build/devopsdays-theme cd exampleSite hugo_0.18 version hugo_0.18 -v --theme=devopsdays-theme --buildDrafts=false --baseURL="/" -gulp preprod --cwd . diff --git a/netlify.toml b/netlify.toml index 53254fde6..9557c254b 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ # Global settings applied to the whole site. [build] - publish = "exampleSite/dist/" + publish = "exampleSite/public/" command = "bin/netlify.sh" # Production context: All deploys to the main @@ -12,5 +12,5 @@ # Deploy Preview context: All Deploy Previews # will inherit these settings. [context.deploy-preview] - publish = "exampleSite/dist/" + publish = "exampleSite/public/" command = "bin/netlify.sh"