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,