Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 678 Bytes

environment-migration.md

File metadata and controls

19 lines (17 loc) · 678 Bytes

How does environment migration work?

We have an GitHub Actions workflow to automatically deploy master-changes like this:

  1. Install all dependencies (WordPress, Plugins, Themes, mu-plugins)
  2. Rename muplugins to muplugins-new
  3. Rename plugins to plugins-new
  4. Rename themes to themes-new
  5. ZIP WordPress folder
  6. Upload migration script
  7. Upload WordPress folder
  8. Call migration script
    1. Activate maintenance mode for WordPress
    2. UNZIP new WordPress version
    3. Replace muplugins with muplugins-new
    4. Replace plugins with plugins-new
    5. Replace themes with themes-new
    6. Stop maintenance mode for WordPress
    7. Call WordPress migration