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

github.com/tastaturtier/someparts-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Leuchter <sandro.leuchter@dama.io>2020-02-13 04:11:04 +0300
committerSandro Leuchter <sandro.leuchter@dama.io>2020-02-13 04:11:04 +0300
commit4bde15156ea9fd53c490c7524b78dff9a8979f09 (patch)
treee9264d4654d492331ba7e3d90b1d492aa2d6a554
parentb692ca37ae2c67a6e39acb12363576da74fd1a42 (diff)
example.com as baseURL w/ netlify deployment under /
-rw-r--r--netlify.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/netlify.toml b/netlify.toml
index 30d205b..962932c 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -1,6 +1,6 @@
[build]
publish = "exampleSite/public"
- command = "cd exampleSite && sed -i \"s/https\:\/\/example\.com\//${URL}\//g\" config.yaml && hugo --gc --themesDir ../.."
+ command = "cd exampleSite && sed -i s/https?.\/\/example\.com\//${URL}\//g config.yaml && hugo --gc --themesDir ../.."
[build.environment]
HUGO_VERSION = "0.63.2"