Skip to content

Connect a repository

To deploy a repository to your WordPress.com site using the GitHub Deployments feature, the first thing you will need to do is configure a repository connection.

This guide assumes you already have a GitHub repository for the deployment you want to perform. If not, you can learn how to create one in the Create a Repository From an Existing Source article.

Configure the connection

To connect a repository:

  1. Visit your site’s wp-admin dashboard and navigate to Hosting → Overview (or Settings Hosting Configuration if using the default interface style).
  2. Click on the Deployments tab.
  3. Click the “Select repository” button. Then, if you see repositories listed, you have already connected your GitHub account. Continue to step 10.
  4. Click the “Install the WordPress.com app” button.
  5. A new window will open, and you will be prompted to log into your GitHub account if you haven’t already done so. Then you’ll see this screen: