Statocles::Deploy::Git - Deploy a site to a Git repository
version 0.098
This class allows a site to be deployed to a Git repository.
This class consumes Statocles::Deploy.
The path to deploy to. Must be the root of the Git repository, or a directory inside of the Git repository.
The Git branch to deploy to. Defaults to "master". If you're building a Github Pages site for a project, you probably want to use the "gh-pages" branch.
The name of the remote to deploy to. Defaults to 'origin'.
my @paths = $deploy->deploy( $source_path, %options );
Deploy the site, copying from the given source path.
Possible options are:
Remove all the current contents of the deploy directory before copying the new content.
An optional commit message to use. Defaults to a generic message.
Doug Bell <preaction@cpan.org>
This software is copyright (c) 2016 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Statocles, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Statocles
CPAN shell
perl -MCPAN -e shell install Statocles
For more information on module installation, please visit the detailed CPAN module installation guide.