From 260f0d10f5b7db62db51f13df8723bad63ce6e3e Mon Sep 17 00:00:00 2001 From: Manager Bot Date: Mon, 31 Oct 2022 20:22:24 +0000 Subject: [PATCH] Update --- Web/lib/MJB/Web/Task/CreateBlog.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Web/lib/MJB/Web/Task/CreateBlog.pm b/Web/lib/MJB/Web/Task/CreateBlog.pm index 667c74c..6d43131 100644 --- a/Web/lib/MJB/Web/Task/CreateBlog.pm +++ b/Web/lib/MJB/Web/Task/CreateBlog.pm @@ -15,6 +15,10 @@ sub run ( $job, $blog_id ) { }); my $blog_root = $dir->child('blog'); + + $job->system_command( [ qw( git init ) ], { + chdir => $blog_root->to_string, + }); $job->system_command( [ qw( git remote add origin ), $blog->repo->url ], { chdir => $blog_root->to_string,