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:
- Visit your site’s wp-admin dashboard and navigate to Hosting → Overview (or Settings → Hosting Configuration if using the default interface style).
- Click on the Deployments tab.
- Click the “Select repository” button. Then, if you see repositories listed, you have already connected your GitHub account. Continue to step 10.
- Click the “Install the WordPress.com app” button.
- 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: