scttnlsn / dandelion

Incremental Git repository deployment.
http://scttnlsn.github.io/dandelion
MIT License
738 stars 60 forks source link

Specify Dev and Live server #155

Closed ghost closed 8 years ago

ghost commented 8 years ago

Is there a way to specify in the config file a dev and live server and then use something like dandelion deploy live for the live server or dandelion deploy dev for the dev server? Wasn't sure if this was possible. Thanks!

scttnlsn commented 8 years ago

You can create a separate config file for each environment and then deploy to each by running:

dandelion --config=dandelion-dev.yml deploy
dandelion --config=dandelion-live.yml deploy

There's some related discussion here: https://github.com/scttnlsn/dandelion/issues/96