Dist::Zilla::Plugin::ScpDeploy - deploy via scp and ssh
version 1.20110614
This plugin can automatically deploy a release when you run dist release. It performs two actions for you:
dist release
uses scp to copy the released tarball to one or more hosts
scp
uses ssh to run a deployment command on each of those hosts
ssh
Configure this behavior in your dist.ini by setting three required arguments:
[ScpDeploy] hosts = huey, dewey, louie command = release_me remote_dir = /home/cbarks/vault
Note well that you may specify multiple hosts by separating them with commas and (optional) spaces.
It is your responsibility to configure ssh and scp on your machine such that hostnames and passwordless logins work correctly and that this module can find the appropriate binaries in your path. It is also your responsibility to configure the remote hosts such that the remote directory and the remote command to run are available.
The remote command receives one argument: the path to the release tarball in the give remote directory.
chromatic
This software is copyright (c) 2011 by chromatic@wgz.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::Plugin::ScpDeploy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::ScpDeploy
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::ScpDeploy
For more information on module installation, please visit the detailed CPAN module installation guide.