|
|
|
@ -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 ) ], { |
|
|
|
|