From bcd386ead331a4e497f821f88dad73c235cefaca Mon Sep 17 00:00:00 2001 From: Matt Stratton Date: Thu, 18 May 2017 11:13:50 -0400 Subject: Update netlify configuration --- bin/netlify-production.sh | 2 +- bin/netlify.sh | 2 +- config.codekit3 | 126 +++++++++++++++++++++++++++++++++++++++++++--- netlify.toml | 9 ++++ 4 files changed, 131 insertions(+), 8 deletions(-) diff --git a/bin/netlify-production.sh b/bin/netlify-production.sh index 84f645d..c4f2b11 100755 --- a/bin/netlify-production.sh +++ b/bin/netlify-production.sh @@ -1,3 +1,3 @@ ln -s /opt/build/repo /opt/build/castanet cd exampleSite -hugo_0.19 --theme=castanet --buildDrafts=false --baseURL="$URL" +hugo --theme=castanet --buildDrafts=false --baseURL="$URL" diff --git a/bin/netlify.sh b/bin/netlify.sh index a29e701..fdba262 100755 --- a/bin/netlify.sh +++ b/bin/netlify.sh @@ -1,3 +1,3 @@ ln -s /opt/build/repo /opt/build/castanet cd exampleSite -hugo_0.19 --theme=castanet --buildDrafts=false --baseURL="$DEPLOY_PRIME_URL" +hugo --theme=castanet --buildDrafts=false --baseURL="$DEPLOY_PRIME_URL" diff --git a/config.codekit3 b/config.codekit3 index cf4c187..4df354e 100644 --- a/config.codekit3 +++ b/config.codekit3 @@ -4689,12 +4689,6 @@ "oAP": "\/exampleSite\/.gitignore", "oF": 0 }, - "\/exampleSite\/config.toml": { - "ft": 8192, - "oA": 2, - "oAP": "\/exampleSite\/config.toml", - "oF": 0 - }, "\/exampleSite\/content\/about\/about.md": { "cS": 0, "eF": 1, @@ -7535,6 +7529,36 @@ "oAP": "\/exampleSite\/static\/.gitkeep", "oF": 0 }, + "\/exampleSite\/static\/img\/episode\/april.jpg": { + "ft": 16384, + "iS": 45637, + "oA": 0, + "oAP": "\/exampleSite\/static\/img\/episode\/april.jpg", + "oF": 0, + "oIPL": 0, + "opt": 0, + "q": 100 + }, + "\/exampleSite\/static\/img\/episode\/aug.jpg": { + "ft": 16384, + "iS": 19793, + "oA": 0, + "oAP": "\/exampleSite\/static\/img\/episode\/aug.jpg", + "oF": 0, + "oIPL": 0, + "opt": 0, + "q": 100 + }, + "\/exampleSite\/static\/img\/episode\/dec.jpg": { + "ft": 16384, + "iS": 79354, + "oA": 0, + "oAP": "\/exampleSite\/static\/img\/episode\/dec.jpg", + "oF": 0, + "oIPL": 0, + "opt": 0, + "q": 100 + }, "\/exampleSite\/static\/img\/episode\/default-banner.jpg": { "ft": 16384, "iS": 116684, @@ -7555,6 +7579,96 @@ "opt": 0, "q": 100 }, + "\/exampleSite\/static\/img\/episode\/feb.jpg": { + "ft": 16384, + "iS": 49956, + "oA": 0, + "oAP": "\/exampleSite\/static\/img\/episode\/feb.jpg", + "oF": 0, + "oIPL": 0, + "opt": 0, + "q": 100 + }, + "\/exampleSite\/static\/img\/episode\/jan.jpg": { + "ft": 16384, + "iS": 56082, + "oA": 0, + "oAP": "\/exampleSite\/static\/img\/episode\/jan.jpg", + "oF": 0, + "oIPL": 0, + "opt": 0, + "q": 100 + }, + "\/exampleSite\/static\/img\/episode\/july.jpg": { + "ft": 16384, + "iS": 39449, + "oA": 0, + "oAP": "\/exampleSite\/static\/img\/episode\/july.jpg", + "oF": 0, + "oIPL": 0, + "opt": 0, + "q": 100 + }, + "\/exampleSite\/static\/img\/episode\/june.jpg": { + "ft": 16384, + "iS": 46334, + "oA": 0, + "oAP": "\/exampleSite\/static\/img\/episode\/june.jpg", + "oF": 0, + "oIPL": 0, + "opt": 0, + "q": 100 + }, + "\/exampleSite\/static\/img\/episode\/march.jpg": { + "ft": 16384, + "iS": 78471, + "oA": 0, + "oAP": "\/exampleSite\/static\/img\/episode\/march.jpg", + "oF": 0, + "oIPL": 0, + "opt": 0, + "q": 100 + }, + "\/exampleSite\/static\/img\/episode\/may.jpg": { + "ft": 16384, + "iS": 107283, + "oA": 0, + "oAP": "\/exampleSite\/static\/img\/episode\/may.jpg", + "oF": 0, + "oIPL": 0, + "opt": 0, + "q": 100 + }, + "\/exampleSite\/static\/img\/episode\/nov.jpg": { + "ft": 16384, + "iS": 60706, + "oA": 0, + "oAP": "\/exampleSite\/static\/img\/episode\/nov.jpg", + "oF": 0, + "oIPL": 0, + "opt": 0, + "q": 100 + }, + "\/exampleSite\/static\/img\/episode\/oct.jpg": { + "ft": 16384, + "iS": 55721, + "oA": 0, + "oAP": "\/exampleSite\/static\/img\/episode\/oct.jpg", + "oF": 0, + "oIPL": 0, + "opt": 0, + "q": 100 + }, + "\/exampleSite\/static\/img\/episode\/sept.jpg": { + "ft": 16384, + "iS": 38483, + "oA": 0, + "oAP": "\/exampleSite\/static\/img\/episode\/sept.jpg", + "oF": 0, + "oIPL": 0, + "opt": 0, + "q": 100 + }, "\/exampleSite\/static\/img\/guest\/jdoe.jpg": { "ft": 16384, "iS": 118057, diff --git a/netlify.toml b/netlify.toml index fcd26fa..937ba70 100644 --- a/netlify.toml +++ b/netlify.toml @@ -11,3 +11,12 @@ [context.deploy-preview] publish = "exampleSite/public/" command = "bin/netlify.sh" + + [context.production.environment] + HUGO_VERSION = "0.20.7" + + [context.deploy-preview.environment] + HUGO_VERSION = "0.20.7" + + [context.branch-deploy.environment] + HUGO_VERSION = "0.20.7" -- cgit v1.2.3