Skip to content

Deploy

After connecting your repository to a site on WordPress.com using the GitHub Deployments feature, the next step is actually deploying your code. There are two deployment methods available: Automatic and Manual.

Automatic deployments are not recommended for live production sites, as any changes to the code in the repository are automatically deployed from GitHub to the live site. Instead, consider setting up automatic deployment on a staging site and then syncing the staging site to production once you’re ready.

Manual deployments give you more control over when your code changes are pushed live, as you will manually need to trigger each deployment. We recommend manual deployments if you don’t want to use a staging site.

To manually trigger a deployment:

  1. Visit your site’s wp-admin dashboard and navigate to Hosting → Overview (or Settings → Hosting Configuration if using the default interface style) if you haven’t already done so.
  2. Click on the Deployments tab.
  3. Click the ellipsis menu (three dots) on the repository you wish to deploy.
  4. Choose “Trigger manual deployment“. You should see a banner notification that says, “Deployment run created,” and the deployment status will change to “Queued.”
  5. Wait for the deployment to complete (the status will change to “Deployed”).