NAME
Apache::SiteConfig::Deploy
SYNOPSIS
use Apache::SiteConfig::Deploy;
name 'projectA';
domain 'foo.com';
domain_alias 'foo.com';
su 'www-data';
chown 'www-data';
source git => 'git@git.foo.com:projectA.git';
source
git => 'git@git.foo.com:projectA.git',
branch => 'master';
source hg => 'http://.........';
# relative web document path of repository
webroot 'webroot/';
task deploy => sub {
};
task dist => sub {
};
Deploy->new(
name => 'projectA',
sites_dir => '/var/sites', # optional
git => 'git@foo.com:projectA.git',
domain => 'foo.com',
webroot => 'webroot/',
);