Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Enhancement A feature or feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants