From 77d235b923055134817766f41b5486a521675d99 Mon Sep 17 00:00:00 2001 From: Manager Bot Date: Wed, 7 Dec 2022 23:44:18 +0000 Subject: [PATCH] New things. --- Web/lib/MJB/Web/Plugin/Jekyll/Blog.pm | 5 +++++ 1 file changed, 5 insertions(+) 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 ) ], {