Using WP Deployer :

^

How to synchronize?

Note:Don't forget to check the 'Allow data retrieval from distant instance' box on the production site.

The functionality that allows an out-of-production instance to retrieve changes from production in order to update its content is called synchronization.

  1. To do this, go to the import package list page on the off-production site to synchronize with production admin -> WP Deployer -> Import.
  2. Fill in the dedicated form to give a date from which changes will be transferred, as well as a package name if you wish.
  3. Launch the download.
    feature synchro

A package will then be available for import, just like any importable package.

^

How to deploy?

Export

  1. On your off-production site, go to admin -> WP Deployer -> Export, select the date and time since your first edits.
    If you like, add a name for your package.
    Then click on Go.
    filter for create bundleA list of modifications will be displayed. Then, if suitable, create your export bundle on clicking Export.

export unselected

  1. Your bundle is created, you can click on the Send to prod, this will send your bundle to your production site.

interface export

Import

  1. On your production site, go to admin -> WP Deployer -> Import, your bundle is ready for import.
    Click on View to view details and manage conflicts.
    import ui

Note: Please plan your backup. A backup integration via the WP Deployer interface will be available soon. In the meantime, use your backup system before each change on your production site.

You can manage your items as appropriate: validate merge, manage conflict, view changes.

UI to import to bundle

  1. To resolve conflicts, the system will create a comparison between your production site and the changes you wish to deploy. Click Merge once you've finished your selection.conflict
  1. After validating your changes contained in the bundle, click Import. This will finalize your deployment on your production site.
^

Additional features

headband

bandeau conflict

This feature alerts you when content being edited has been modified in production, and that a synchronization may be useful so as not to lose newly contributed information.

^

Deployment methods

By Interface - ZIP

You can download a ZIP archive, from the tabs Import or Export on a created bundle. Unzip archive, then upload the bundle to the wp-content/plugins/wp-deployer/exported-data.

Command line - CLI

Deployment via CLI is based on WP Deployer's integration with WP CLI. All you need to do is have the files unzipped in the usual export directory (exported-data) and run the desired command.

The WP Deployer commands are in this form:

wp wd order_name

Automated - CI/CD

Continuous deployment uses the same commands described in the CLI section. Simply push the deployment bundle files along with the site files and incorporate the WP Deployer commands into your deployment script.

Note that commands must be performed with the database available.

^