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

Support for multisite deploys #1092

Merged
merged 2 commits into from
Feb 14, 2017

Conversation

danepowell
Copy link
Contributor

This makes two significant changes:

  1. The deploy site alias is changed from "self" to "sites". This will cause Drush to run the deploy:update commands against all sites, not just the default site.
  2. The multisite.name variable is currently overloaded. Sometimes it is used as an array, and sometimes as a single-value string. The only reason it works at all is because the output is identical in both cases for single-install sites. But for multisite projects, we need to decouple this in some places.

@grasmash grasmash added in progress Enhancement A feature or feature request labels Feb 14, 2017
dir: ${docroot}
uri: ${multisite.name}
uri: default
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change should have no effect for single-site projects. Multisite projects should pass either a unique cloud alias or override drush.uri, for instance via example.multisite.yml.

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

Successfully merging this pull request may close these issues.

2 participants