mirror of
https://github.com/Noratrieb/website.git
synced 2026-01-14 08:55:01 +01:00
no more fucked submodule
This commit is contained in:
parent
2da7939965
commit
8751a926d1
2 changed files with 1 additions and 13 deletions
|
|
@ -9,18 +9,6 @@ use crate::utils;
|
|||
pub fn build(blog: &Path, dist: &Path) -> Result<()> {
|
||||
info!("Building blog with hugo");
|
||||
|
||||
utils::run_process(
|
||||
Command::new("git")
|
||||
.args(["submodule", "init"])
|
||||
.current_dir(blog),
|
||||
)?;
|
||||
|
||||
utils::run_process(
|
||||
Command::new("git")
|
||||
.args(["submodule", "update"])
|
||||
.current_dir(blog),
|
||||
)?;
|
||||
|
||||
// Patch config
|
||||
let config =
|
||||
std::fs::read_to_string(blog.join("config.toml")).wrap_err("reading blog config")?;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[[submodule]]
|
||||
name = "blog"
|
||||
url = "https://github.com/Noratrieb/nilstrieb.github.io.git"
|
||||
commit = "a48053540e1bc85403c25526de304e82f5371a22"
|
||||
commit = "d2e858ddca7e59c9d9c843f7273ff0f75d65421e"
|
||||
|
||||
[[submodule]]
|
||||
name = "slides"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue