diff --git a/Web/lib/MJB/Web/Plugin/Jekyll/Blog.pm b/Web/lib/MJB/Web/Plugin/Jekyll/Blog.pm index 3658bad..96652bc 100644 --- a/Web/lib/MJB/Web/Plugin/Jekyll/Blog.pm +++ b/Web/lib/MJB/Web/Plugin/Jekyll/Blog.pm @@ -136,6 +136,11 @@ sub init { if ( $return->{stdout} ne $self->repo . "\n" ) { die "Error: Unable to initialize and set repo."; } + + # Commit the changes + $self->system_command( [ qw( git commit -m ), "Created new blog!" ], { + chdir => $self->repo_path, + }); # Push the repo to the store $self->system_command( [ qw( git push origin master ) ], {