Make it a website
If your folder holds a website — HTML pages, with the first page called index.html — GitHub can show it as a
real website anyone can visit, for free. This is called GitHub Pages. You turn it on once, on the GitHub website;
after that, every Publish Selected in SEAGit updates the website.
Turn on GitHub Pages
- Publish the folder with SEAGit at least once (Publish a folder).
- On github.com, open your repository.
- Click Settings (the gear, near the top of the repository's page).
- In the list on the left, click Pages.
- Under Build and deployment, find Branch. Change it from None to the branch SEAGit published to — main for a folder SEAGit prepared (an older folder may use master; the list shows the branches the repository has) — leave the folder as / (root), and press Save.
- Wait a minute or two, then refresh the page. GitHub shows the website's address at the top of the Pages settings, usually
https://your-name.github.io/your-repository/.
Change the website
Edit the files in your folder (Open Folder in SEAGit shows it), then click the folder in SEAGit and press Publish Selected. GitHub updates the website a minute or two later. If you still see the old page, refresh it in your browser.
If the website does not appear
- The first page must be called
index.htmland sit directly in the folder you published, not in a folder inside it. - On a free GitHub account, GitHub Pages works only for public repositories.
- Links and pictures should use relative paths (
images/photo.jpg), not paths on your computer (C:\Users\…), which do not exist on GitHub. - File names on the website are case-sensitive:
Photo.JPGandphoto.jpgare different files.