Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/netlify-production.sh2
-rwxr-xr-xbin/netlify.sh2
-rw-r--r--config.codekit36
-rw-r--r--netlify.toml9
4 files changed, 11 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 eb548c9..e7c9429 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,
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"