Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to put several repositories under one domain?

I have two repositories under a free organisation on github: my_organisation/first and my_organisation/second.

And I want to do the magic the way the first repository is available on my_organisation.github.io/first and the second is available on my_organisation.github.io/second.

Is it possible? If so, then how can I do it?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Yes, it is possible and if you have gh-pages enabled it will happen by default. If not Here are the steps you can follow:

  1. Go to the Settings tab of each repository on GitHub and scroll down to the "GitHub Pages" section, might also be available on the left sidebar as "Pages"
  2. Under the "Source" section, select the branch as the source for your GitHub Pages site.
  3. Save your changes.
  4. Wait a few minutes for GitHub to build your site.
    Your repositories should now be available at the following URLs:
    my_organisation.github.io/first
    my_organisation.github.io/second
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading