New things.

master
Manager Bot 3 years ago
parent 9eab466b9c
commit 77d235b923
  1. 5
      Web/lib/MJB/Web/Plugin/Jekyll/Blog.pm

@ -136,6 +136,11 @@ sub init {
if ( $return->{stdout} ne $self->repo . "\n" ) { if ( $return->{stdout} ne $self->repo . "\n" ) {
die "Error: Unable to initialize and set repo."; 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 # Push the repo to the store
$self->system_command( [ qw( git push origin master ) ], { $self->system_command( [ qw( git push origin master ) ], {

Loading…
Cancel
Save