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.
 
 
 
 
 
 

18 lines
413 B

package MJB::Web::Tasks::DeployBlog;
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 );
# Check out the blog repo to a build area.
# Build the blog with the jekyll builder in podman
# Use ansible to deploy the blog to the web servers.
}
1;