carrot / ship

⛔️ currently unmaintained ⛔️
Other
151 stars 14 forks source link

Ship to diff. environments #1

Closed jescalan closed 11 years ago

jescalan commented 11 years ago

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.

kylemac commented 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

jescalan commented 11 years ago

This exact suggestion is now included in ship :smiley: