diff --git a/src/main.rs b/src/main.rs index af1fcdc..9a1fcd0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -117,6 +117,10 @@ fn reload(config: &State, repo: &str) -> Result { &www_root ); + if !build_path.exists() { + info!("Creating {}", build_path.display()); + fs::create_dir_all(&build_path)?; + } if !commits_root.exists() { info!("Creating {}", commits_root.display()); fs::create_dir_all(&commits_root)?;