Closed jescalan closed 11 years ago
One way I might suggest we handle this is through filename. Assuming we'll be able to set an environment flag, you might be able to create deploy to a staging environment like so:
ship /path/to/folder s3 --e staging
This would look for a conf file like, ship.staging.conf
. There are some tradeoffs here like having to manage multiple files, but I think it makes up for it in clarity and not having to resort to multi-dimensional yaml(ish) syntax.
EDIT: Of course it would just look for a ship.conf by default
This exact suggestion is now included in ship :smiley:
Some people may want the ability to ship out files to different environments. This should be taken into account in the config file and the command line interface.