NAME

Statocles::Deploy - Base role for ways to deploy a site

VERSION

version 0.038

DESCRIPTION

A Statocles::Deploy deploys a site to a destination, like Git, SFTP, or otherwise.

ATTRIBUTES

base_url

The base URL for this deploy. Site URLs will be automatically rewritten to be based on this URL.

This allows you to have different versions of the site deployed to different URLs.

METHODS

deploy( FROM_STORE, MESSAGE )

Deploy the site, copying from the given store object, optionally committing with the given message. Returns a list of file paths deployed.

This must be implemented by the composing class.

SEE ALSO

Statocles::Deploy::File
Statocles::Deploy::Git
Statocles::Store

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.