Issue Connecting GitHub Repository for Auto Deployments
-
Hello,
We’re trying to connect our website to one of our private GitHub repositories, and I followed these steps:
- From the website CMS dashboard: Hosting → Site Settings → Deployments → Select Repository
- Clicked on “Install the WordPress.com app”
- Logged into our GitHub account and authorized the app
However, when I click “Select Repository” again, it still shows the “Install the WordPress.com app” button and does not display the GitHub account or any of its repositories.

I tried this process with different GitHub accounts and encountered the same issue each time.
Could you please check if there is a known issue with this feature? If not, can you help us review the connection between our website and the GitHub account?
Thank you for your support.
The blog I need help with is: (visible only to logged in users)
-
Hi there!
I see you’re having trouble connecting your GitHub repository to WordPress.com. This sounds like an authentication loop that happens sometimes when the GitHub app doesn’t properly register with WordPress.com.
Here are some recommendations to resolve this:
- First, check if the WordPress.com app is already installed in GitHub:
- Go to GitHub.com → Settings → Applications
- Look under both “Authorized GitHub Apps” and “Installed GitHub Apps”
- If WordPress.com is there, try removing it completely
- When going through the authorization process again:
- Make sure you select the correct GitHub organization where your repository is located
- Choose whether to grant access to “All repositories” or “Only select repositories”
- Be sure to click the “Install” button (not just authorize)
- Try using a private/incognito browser window for the entire process to avoid any cookie issues
For newly created repositories, also verify that your default branch is named ‘main’ and that your repository contains the files you want to deploy.
For more details and a helpful video overview of the GitHub Deployments feature, check out our main documentation page: https://developer.wordpress.com/docs/developer-tools/github-deployments/
And for step-by-step connection instructions: https://developer.wordpress.com/docs/developer-tools/github-deployments/connect-repo/
Let me know if this helps or if you need further assistance!
- First, check if the WordPress.com app is already installed in GitHub:
-
Hi,
Thank you for your response.
The issue has been resolved after I switched our GitHub account from a personal account to an organization account. Once I authorized your GitHub app using the organization account, the list of repositories became visible.
Thank you again for your support.
-
Glad to hear you were able to resolve this. If you need help with anything else, feel free to let us know.
- The topic ‘Issue Connecting GitHub Repository for Auto Deployments’ is closed to new replies.