-
Notifications
You must be signed in to change notification settings - Fork 57
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 Deploy Destinations #96
Comments
I've accomplished this by using multiple config files:
The config file supports ERB syntax to allow reading from environment variables but perhaps some sort of "partial" support would be nice to eliminate duplicating shared config options. |
I'd like to add a vote in support of this feature. We have code for website functionality modules, and those modules appear in several of our sites. As a result, when we update that codebase we need to push the changes to all of the production servers. Being able to do that with a single command would be great. |
I agree with @colinhahn, use a command would be much easier and better. |
Yeah, perhaps just a generic |
Perhaps a different name though since |
How about something like "dandelion deploy -m"? Do not know if it's possible, can even be mistaken as to what I say, but for the organization deploys possible (keeping the configuration in a single file), it would be better to organize something?
|
Perhaps in that case |
Yes, the command would look perfect that way. |
👍 |
@scttnlsn is this something you've already started on or would you accept a pull request? Have a project that this would be super helpful rather than multiple config files. |
@codewrangler77 I have not started working on this. A pull request implementing the "merge" option would be awesome! |
Multiple destinations would be a great addition allowing deployment to a staging and a productions server, as an example. Maybe it would look like: dandelion deploy staging dandelion deploy prod with separate sections in the dandelion.yml file for each. |
I agree with bobrocke dandelion deploy staging dandelion deploy prod |
Any update on this? |
Have you thought about supporting multiple deploy destinations? I'd like to have a "production" and a "staging" deploy that share common settings (exclude, additional) but have different credentials.
Maybe, have the config as it is now be the "default", and if a deploy name is given, then merge that hash, into the root.
Really nice Gem, by the way.
The text was updated successfully, but these errors were encountered: