The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Statocles::Deploy::Git - Deploy a site to a Git repository

VERSION

version 0.035

DESCRIPTION

This class allows a site to be deployed to a Git repository.

This class extends Statocles::Store::File.

ATTRIBUTES

path

The path to the Git work tree, the root of the repository.

branch

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.

remote

The name of the remote to deploy to. Defaults to 'origin'.

METHODS

deploy( FROM_STORE, MESSAGE )

Deploy the site, copying from the given store. Returns the files deployed.

SEE ALSO

Statocles::Store::File
Statocles::Deploy

AUTHOR

Doug Bell <preaction@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 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.