feat: add actual upload
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-02-19 22:50:49 +01:00
parent a17dd2bd10
commit d35f5c8f22
18 changed files with 400 additions and 149 deletions

View File

@@ -4,7 +4,7 @@ use std::{ops::Deref, path::PathBuf};
pub struct CommitArtifact {
pub app: String,
pub branch: String,
pub folder: PathBuf,
pub upload_id: UploadArtifactID,
}
#[derive(Debug, Clone)]
@@ -44,6 +44,7 @@ impl From<PathBuf> for UploadArtifact {
}
}
#[derive(Clone, Debug)]
pub struct UploadArtifactID(uuid::Uuid);
impl From<uuid::Uuid> for UploadArtifactID {
fn from(value: uuid::Uuid) -> Self {