Skip to content

Step 5: Deploy to Your Production or Staging Site

WordPress.com has a GitHub Deployments feature that makes it easy to deploy changes from GitHub to your production or staging site. 

You can set up GitHub Deployments on your production or staging site by:

  1. Connecting the plugin, theme, or site repository.
  2. Setting up the deployment.
  3. Optionally setting up workflows under Advanced Deployment.

You must trigger the first deployment, either automatically or manually. If you’re syncing a theme or plugin, you may need to activate it on the Plugins or Themes page in wp-admin.

If you set up automatic deployments through GitHub Deployments, any additional changes to the main branch in your GitHub repository will be automatically synced with your production or staging site.  

If you set up manual deployments, syncs will need to be manually triggered through your GitHub Deployments dashboard.

For convenience and maximum control over your production site, we recommend setting up:

  • Manual deployments for production sites.
  • Automatic deployments for staging sites.

If you decide to use a staging site, you can synchronize your staging site to your production site.

Next Steps

Setting up a local-to-production development flow is only the start of what you can do on WordPress.com. Be sure to check out our documentation for:

Last updated: November 05, 2024