Deploy Wordpress Changes from Github to ForgeForge doesn’t have deployments for Wordpress the same way as Laravel does, as a result the wiring up of Github branches to live and staging is done manually (see @U05HS1ATKT7!) and we have to deploy with 2 extra steps, eg to deploy changes to a Live site

  • git status on live site to make sure no surprises or conflicts

  • PR from develop to main in Github and merge so ready

  • (Above two steps are normal process)

  • In forge, find the site, and on the commands tab run

  • If this is a live site then we have PHP Opcode caching, so the PHP process must be restarted (this will disrupt all sites using that PHP version)