Provides a CLI to quickly and painlessly deploy configuration files to multiple instances on EngineYard
$ gem install ey-scp
Make sure that you have your public key registered with EY.
from your project directory.
ey-scpfrom any directory with the following syntax:
ey-scp -e ENVIRONMENT [OPTIONS] LOCAL_SOURCE_FILE REMOTE_DESTINATION
ey-scp -e production --app-servers ~/local/project/config/foo.yml /remote/project/path/config
Specifying target instances
|Option||Uploads to instances with roles of|
|--app-servers||solo, app_master, app|
|--db-servers||solo, db_master, db_slave|
Right now, we could really use someone to refactor the code so that it's less scripty/hackish.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request