Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple environments #116

Closed
ronlobo opened this issue Jan 5, 2015 · 2 comments
Closed

Multiple environments #116

ronlobo opened this issue Jan 5, 2015 · 2 comments

Comments

@ronlobo
Copy link

ronlobo commented Jan 5, 2015

Hi there,

it's possible to have multiple deploy configurations for different branches within one git project?

thanks in advance,

greets

@scttnlsn
Copy link
Owner

scttnlsn commented Jan 5, 2015

You can achieve this with multiple configuration files:

dandelion --config=dandelion-a.yml deploy branch-a
dandelion --config=dandelion-b.yml deploy branch-b

Please re-open if this does not work for your setup or you'd like to discuss alternate ways of handling this scenario.

@scttnlsn scttnlsn closed this as completed Jan 5, 2015
@sebestenyb
Copy link

Would be nice to be able to define the source branch in the config, reducing the typing to

dandelion --config=dandelion-a.yml deploy
dandelion --config=dandelion-b.yml deploy

Would be awesome, if we could make branch specific setting blocks in the same config, reducing the typing to dandelion deploy.

default:
    adapter: sftp
    host: example.com
    username: user
    password: pass
    path: path/to/production
develop:
    adapter: sftp
    host: example.com
    username: user
    password: pass
    path: path/to/staging

Cheers!

Bah, just saw this ticket: #96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants