|
|
@ -177,7 +177,9 @@
|
|
|
|
(blog-sites-preview blog-name)))
|
|
|
|
(blog-sites-preview blog-name)))
|
|
|
|
envs-fn (fn [result [match-str env-name]]
|
|
|
|
envs-fn (fn [result [match-str env-name]]
|
|
|
|
(when (= nil (System/getenv env-name))
|
|
|
|
(when (= nil (System/getenv env-name))
|
|
|
|
(throw (ex-info (str "env var not found " env-name))))
|
|
|
|
(throw (ex-info (str "env var not found " env-name)
|
|
|
|
|
|
|
|
{:env-var env-name
|
|
|
|
|
|
|
|
:match-str match-str})))
|
|
|
|
(string/replace result
|
|
|
|
(string/replace result
|
|
|
|
match-str
|
|
|
|
match-str
|
|
|
|
(System/getenv env-name)))]
|
|
|
|
(System/getenv env-name)))]
|
|
|
|