manager: Configure a git identity for committing

This commit is contained in:
Rahix 2025-05-22 15:02:57 +02:00
parent cf484fe21c
commit e274f6206c

View file

@ -36,6 +36,20 @@ pub async fn render_and_publish(
.success()
.context("Failed to initialize render repository")?;
Command::new("git")
.arg("-C")
.arg(&render_repo)
.args(["config", "user.email", "git@fa-fo.de"])
.success()
.context("Failed to configure identity for render repo")?;
Command::new("git")
.arg("-C")
.arg(&render_repo)
.args(["config", "user.name", "Forgejo Actions"])
.success()
.context("Failed to configure identity for render repo")?;
let dot_file = render_repo.join("techtree.dot");
let svg_file = render_repo.join("techtree.svg");