Saved! Find the file where you saved it and double-click it to check that it opens.
Your file is downloading. Open your Downloads folder and double-click it to check that it opens.
β Check the file name before uploading. It must be exactly:
β index.htmlβ index (1).htmlβ index(2).html
If your computer added a number, rename the file to index.html first. Otherwise GitHub Pages shows a 404 error.
- Go to github.com and sign in (or create a free account).
- Click + (top right) → New repository. Name it, for example,
my-portfolio. Choose Public and click Create repository.
- Click uploading an existing file (or Add file → Upload files) and drag in the
index.html you exported. Make sure the name is exactly index.html, not index (1).html. Click Commit changes.
- Open Settings → Pages. Under Build and deployment, choose Deploy from a branch, branch main, folder / (root), then Save.
- Wait 1–10 minutes, then refresh the Pages screen. Your address appears at the top, like
https://your-username.github.io/my-portfolio/.
- Open the link to check it, then share it with your professor.
Seeing a β404 β File not foundβ page?
- Check the file name. In your repository it must be exactly
index.html. If it says index (1).html, click the file → βοΈ (edit) → change the name to index.html → Commit changes.
- Check the address. Use the link shown at the top of Settings → Pages. It ends with your repository name, e.g.
β¦github.io/my-portfolio/.
- Check that Pages is on. In Settings → Pages, choose branch main and folder / (root), then Save.
- Wait a few minutes. Open the Actions tab. When you see a green β, refresh your page.
- Make the repository Public. Free accounts can only publish public repositories (Settings → bottom of the page → Change visibility).
- Upload the file itself, not a folder.
index.html must be on the main page of the repository, not inside another folder.
To update later: make changes here, export again, and upload the new
index.html to the same repository (it replaces the old one). Changes can take a few minutes to appear.
Remember: a GitHub Pages site is public. Anyone with the link can see it.
Do not include your home address, phone number, student ID or other private information.
Only upload the exported index.html — not the Portfolio Creator's own files.