NAME

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

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