Deploy for Drupal 8

Last updated on
8 July 2018

Installation

  • Put the module into your modules directory as usual
  • Enable it with Drush or from UI

Dependencies

  • Workspace (the contrib module at the moment, after the release of Drupal 8.6.0 it will use the Workspace module from core)

Configuration

Deploy module doesn't provide any settings or configuration pages, but to make it work, the user should make sure that target workspaces and/or remotes are configured correctly (workspaces configuration pages are provided by Workspace module).

For UI, Deploy provides just a link to run a deployment between current active workspace and it's target:

Deploy link

If the target workspace is not set for the current active workspace and the user clicks on the Deploy link, an error message will inform the user that an upstream should be set for the current active workspace. The message also contains the link to the workspaces configuration pages:

Deploy error

On workspace edit page the user can set or modify the upstream and other settings. For example, the edit page for Live workspace:

Workspace edit page

This is the basic configuration. Now the user will be able to deploy content just on a single site.

See more details about content deployment on a single site and more complex use-cases like replication between multiple sites/remotes by accessing related content.

Help improve this page

Page status: No known problems

You can: