NAME

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

VERSION

version 0.098

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.

site

The site this deploy is deploying for. This will be set before the site calls the deploy method.

METHODS

deploy

my @paths = $deploy->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

AUTHOR

Doug Bell <preaction@cpan.org>

COPYRIGHT AND LICENSE

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.