A hosting service for Jekyll Blogs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
434 B

package MJB::Web::Tasks::CreateBlog;
use Mojo::Base 'Minion::Job', -signatures;
use Mojo::File qw( curfile );
use File::Copy::Recursive qw( dircopy );
use IPC::Run3;
sub run ( $job, $blog_id ) {
my $blog = $job->app->db->blog( $blog_id );
# Create clone of standard jekyll blog in repos/user_id/blog_id
# Set the git configuration for the clone so that it goes to gitea.
# TODO: add gitea user with ssh key?
}
1;