feat: add further stuff to template
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
d16687f0c9
commit
3a54e7c5e3
@ -71,7 +71,7 @@ async fn main() -> anyhow::Result<()> {
|
|||||||
let mut ctx = tera::Context::new();
|
let mut ctx = tera::Context::new();
|
||||||
for (name, val) in vars {
|
for (name, val) in vars {
|
||||||
tracing::debug!("adding value to template: ({}, {})", &name, &val);
|
tracing::debug!("adding value to template: ({}, {})", &name, &val);
|
||||||
ctx.insert(name, val);
|
ctx.insert(name, &val);
|
||||||
}
|
}
|
||||||
let template_data = tera::Tera::one_off(&template_data, &ctx, false)?;
|
let template_data = tera::Tera::one_off(&template_data, &ctx, false)?;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user