You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/components/about-us/about-us.tsx
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,26 @@ export class AboutUs {
46
46
<p>GitHub Pages will look for an index.html , index.md , or README.md file as the entry file for your site. </p>
47
47
<p>For this convert an existing repo into Github Pages (or) create a new public repository named <b>username.github.io</b>, where username is your username (or organization name) on GitHub.</p>
<h1>Multiple Github pages for multiple repositories</h1>
50
+
<p>In addition to the user/organization site, you can also have project sites for any other repository. The URL for each of these will be in the format https://<b>username</b>.github.io/repository-name.</p><p>
51
+
<ul><li> You can create as many project repositories as you like and enable GitHub Pages on them individually.</li><li>
52
+
For each repository, you can enable GitHub Pages under the repository's settings, selecting a branch to host the site (typically main or gh-pages).</li></ul>
Similarly, you can enable GitHub Pages on this repository, and it will host a different website.</li></ul><br></br>
60
+
How to set up GitHub Pages for a project repository:<br></br>
61
+
<ol><li> Go to the repository you want to use for GitHub Pages.</li>
62
+
<li> In the repository, go to Settings then Pages (located under the "Code and automation" section).</li>
63
+
<li>Select the branch you want to use for the Pages site (usually main or gh-pages).</li>
64
+
<li>Choose the folder (like /root or /docs) or "GitHub Actions and workflow" whichever if applicable.</li>
65
+
<li>Save the settings, and your site will be live at https://username.github.io/repository-name.</li></ol><br></br>
66
+
This way, you can have multiple repositories, each with its own GitHub Pages site.
67
+
68
+
</p>
49
69
<h1>GitHub Actions</h1>
50
70
<p>GitHub Actions is required in scenario where entry file of a repository is not at root directory and the repository is of a framework like React, Angular, StencilJS</p>
51
71
<p>GitHub Actions is a continuous integration and continuous delivery (CI/CD) platform that allows you to automate your build, test, and deployment pipeline. You can create workflows that build and test every pull request to your repository, or deploy merged pull requests to production.</p>
0 commit comments