Cannot click "Deploy from a branch" in GitHub Pages settings #171911
Replies: 3 comments
-
|
hello i hopee you are doing well If Environment Exists, Delete and Recreate Go to Settings → Environments Finally Check Branch Name: i hope that will help you and if yes accept this answer to help me answer more answers to other people . good luck |
Beta Was this translation helpful? Give feedback.
-
|
Welcome to the GitHub Community, @lula-doula, we're happy you're here! You are more likely to get a useful response if you are posting your question(s) in the applicable category. Check out this Guide on how to post in the right category. It'll ensure your questions and discussions reach the right people faster! This particular discussion belongs in the |
Beta Was this translation helpful? Give feedback.
-
|
Hi @lula-doula 👋, I understand how frustrating it can be when GitHub Pages doesn’t let you click “Deploy from a branch” — especially after you’ve uploaded all the files correctly. Let’s go step by step to solve this. 🔎 Why the Option is Disabled?The “Deploy from a branch” button will be disabled if:
✅ Step-by-Step Solution1. Make Repository Public
2. Ensure You Have a Valid Branch
3. Navigate to the Correct Settings
4. Enable GitHub Pages
5. Alternative (if repo must stay private)If you want to keep the repo Private, you’ll need to use GitHub Pages with GitHub Actions instead of branch-based deploy. 🛠️ Extra Checks
🎯 ConclusionThe most likely issue for @lula-doula is that the repository is private. Once enabled:
✨ Hope this helps, @lula-doula! Your GitHub Pages site should be up and running soon 🚀 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Hello everyone,
I'm having an issue with GitHub Pages on my repository: https://github.com/lula-doula/novababypr-site
I've uploaded all my files, including
index.htmlin the root, and made several commits. However, I cannot click on the "Deploy from a branch" option in the Pages settings. The button appears disabled.I've tried:
But the option is still not clickable.
Could anyone help me understand what might be wrong? Is there a known issue or a workaround?
Thank you so much for your help!
Beta Was this translation helpful? Give feedback.
All reactions