parent
3fedfa3342
commit
776876233f
|
@ -4,7 +4,7 @@ use serde::Deserialize;
|
||||||
pub(crate) struct Repository {
|
pub(crate) struct Repository {
|
||||||
pub(crate) name: String,
|
pub(crate) name: String,
|
||||||
pub(crate) full_name: String,
|
pub(crate) full_name: String,
|
||||||
pub(crate) clone_url: String,
|
pub(crate) ssh_url: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Deserialize)]
|
#[derive(Deserialize)]
|
||||||
|
|
|
@ -38,7 +38,7 @@ impl Job {
|
||||||
let output = Command::new("git")
|
let output = Command::new("git")
|
||||||
.arg("clone")
|
.arg("clone")
|
||||||
.arg("--mirror")
|
.arg("--mirror")
|
||||||
.arg(&self.repo.clone_url)
|
.arg(&self.repo.ssh_url)
|
||||||
.arg(format!("{}", self.local_path.as_ref().unwrap().display()))
|
.arg(format!("{}", self.local_path.as_ref().unwrap().display()))
|
||||||
.output()?;
|
.output()?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue