-
Hi, I have a free plan. I have to host site with github pages. I have purchased a theme, so I need to make the code/repo private. Can I host on Github pages keeping the repo as private ? My Site will be available publicly Thanks, Shemeer |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 5 replies
-
i think yes, because you pay money |
Beta Was this translation helpful? Give feedback.
-
No, to use GitHub pages on a private repository, you need the PRO plan. |
Beta Was this translation helpful? Give feedback.
-
Hey friend, if you dont find your answer in github then i wanted to say that there are free hostings (even fully working ones without ads) or very cheap ones not exceeding few dollars yearly. Cheers |
Beta Was this translation helpful? Give feedback.
-
Hi @fairol85, Thank you for reaching out in this thread! You are more likely to get a useful response if you are explicit or give a few more details in your question. Please let us know what information you are looking for or asking about. |
Beta Was this translation helpful? Give feedback.
-
I have a PRO plan, but I’m still getting this message in my repo. Has something changed? |
Beta Was this translation helpful? Give feedback.
-
I had the same scenario, but when I confirmed and reloaded it now displays this: So it looks like even though it says you will lose it, the site stays up. My site did not go down after I made the repo private. The message is quite confusing though. |
Beta Was this translation helpful? Give feedback.
-
Hey @rivermont, what Github means by that message is that, since the repository is private, people will not have access to the Github repository of the site code directly after you publish it with Github Pages. However, since the published site is public (can be accessed by anyone on the Internet) and Github only allows static sites, the code for the site will technically be available to the public, as anyone can view the Page Source of the published site to view the relevant code files and assets. I hope this answers your doubt. |
Beta Was this translation helpful? Give feedback.
-
You can explore netlify. Netlify allows to have a private repo and still host it as a website. |
Beta Was this translation helpful? Give feedback.
No, to use GitHub pages on a private repository, you need the PRO plan.