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"