• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Issue Connecting GitHub Repository for Auto Deployments

Issue Connecting GitHub Repository for Auto Deployments

  • Unknown's avatar
    alaanwp · Member · Apr 30, 2025 at 10:52 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hello,

    We’re trying to connect our website to one of our private GitHub repositories, and I followed these steps:

    1. From the website CMS dashboard: Hosting → Site Settings → Deployments → Select Repository
    2. Clicked on “Install the WordPress.com app”
    3. 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)

  • Unknown's avatar
    staff-minnie · Staff · May 2, 2025 at 2:17 am
    • Copy link Copy link

    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:

    1. 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
    2. 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)
    3. 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!

  • Unknown's avatar
    alaanwp · Member · May 2, 2025 at 11:58 am
    • Copy link Copy link

    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.

  • Unknown's avatar
    staff-sjclaen · Staff · May 2, 2025 at 12:05 pm
    • Copy link Copy link

    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.

Tags

  • account
  • Deployment
  • github

About this topic

  • In: Support
  • 2 participants
  • 3 replies
  • Last activity 8 months
  • Latest reply from alaanwp

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions