πŸ“˜ Detailed GitHub Pages Setup Guide

How to Enable GitHub Pages - Step by Step

This guide provides detailed, visual instructions for enabling GitHub Pages. Follow each step carefully.


🎯 Goal

Enable GitHub Pages so your website becomes live at: https://cbreiss.github.io/breisslab/

Time needed: 5 minutes


πŸ“ Step-by-Step Instructions

Step 1: Navigate to Your Repository

  1. Open your web browser
  2. Go to: https://github.com/cbreiss/breisslab
  3. You should see the main page of your repository with all the files

Step 2: Open Repository Settings

Look at the TOP of the page, you’ll see a horizontal menu bar with tabs:

< > Code    Issues    Pull requests    Actions    Projects    Wiki    Security    Insights    Settings
  1. Click on the β€œSettings” tab (it’s the LAST item on the right in the menu bar)
    • If you don’t see β€œSettings”, you may not have admin access to the repository
    • The owner of the repository needs to do this step

What you’ll see:


Step 3: Find the β€œPages” Setting

Look at the LEFT sidebar. You’ll see a list of options:

General
Access
    Collaborators
    Moderation
Code and automation
    Branches
    Tags
    Actions
    Webhooks
    Environments
    Codespaces
    Pages          ← CLICK HERE!
    Custom properties
  1. Scroll down in the left sidebar until you see β€œPages”
    • It’s in the β€œCode and automation” section
    • It’s usually between β€œEnvironments” and β€œCustom properties”
  2. Click on β€œPages”

What you’ll see:


Step 4: Configure the Source

In the main area, look for the section titled β€œBuild and deployment”

You’ll see:

Source
[Dropdown menu showing current selection]
  1. Click on the dropdown menu under β€œSource”

  2. You’ll see two options:
    • Deploy from a branch
    • GitHub Actions ← SELECT THIS ONE
  3. Click β€œGitHub Actions”

What happens:


Step 5: Verify It’s Working

Scroll down on the same page to look for:

Your site is live at https://cbreiss.github.io/breisslab/

If you see this:

If you DON’T see this yet:


Step 6: Check Your Website

  1. Wait 2-3 minutes for the initial build
  2. Click on the link: https://cbreiss.github.io/breisslab/
  3. Your website should now be live!

πŸ” Troubleshooting

Problem: I don’t see the β€œSettings” tab

Solution:


Problem: I don’t see β€œPages” in the left sidebar

Solution:

  1. Make sure you’re in the β€œSettings” tab (top menu)
  2. Scroll down in the left sidebar - β€œPages” is in the β€œCode and automation” section
  3. If you still don’t see it, refresh the page or try a different browser

Problem: The dropdown only shows β€œDeploy from a branch”

Solution:


Problem: β€œYour site is live” message doesn’t appear

Solution:

  1. Wait 2-3 minutes and refresh the Settings > Pages page
  2. Check the β€œActions” tab to see if the build is running
  3. Look for a workflow called β€œpages build and deployment” or β€œDeploy Jekyll site to GitHub Pages”
  4. If you see a red X (failed), click on it to see the error

Problem: The website shows a 404 error

Solution:

  1. Make sure you’ve waited at least 3 minutes after enabling Pages
  2. Check that you’re going to the correct URL: https://cbreiss.github.io/breisslab/
  3. Go to Settings > Pages and verify the URL shown there
  4. Check the β€œActions” tab to ensure the build succeeded (green checkmark)

πŸ“Έ Visual Guide

What the Settings Tab Looks Like

When you’re on the repository page, the top menu looks like this:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  cbreiss / breisslab                                     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  Code  Issues  Pull requests  Actions  Β·Β·Β·  Settings    β”‚  ← Click Settings
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

What the Left Sidebar Looks Like

After clicking Settings, the left sidebar shows:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ General              β”‚
β”‚ Access               β”‚
β”‚   Collaborators      β”‚
β”‚   Moderation         β”‚
β”‚ Code and automation  β”‚
β”‚   Branches           β”‚
β”‚   Tags               β”‚
β”‚   Actions            β”‚
β”‚   Webhooks           β”‚
β”‚   Environments       β”‚
β”‚   Pages              β”‚  ← Click here
β”‚   Custom properties  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

What the Pages Settings Look Like

After clicking Pages, you’ll see:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ GitHub Pages                                 β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                                              β”‚
β”‚ Build and deployment                         β”‚
β”‚                                              β”‚
β”‚ Source                                       β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”               β”‚
β”‚ β”‚ GitHub Actions         β–Ό  β”‚  ← Select thisβ”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜               β”‚
β”‚                                              β”‚
β”‚ Your site is live at                        β”‚
β”‚ https://cbreiss.github.io/breisslab/        β”‚
β”‚                                              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

βœ… Success Checklist

After following these steps, you should have:


πŸŽ‰ Next Steps

Once GitHub Pages is enabled:

  1. Wait 2-3 minutes for the initial build
  2. Visit your site: https://cbreiss.github.io/breisslab/
  3. Start customizing your content (see SETUP.md)

Every time you make changes to your repository:


πŸ“ž Still Need Help?

If you’re still having trouble:

  1. Check the GitHub Actions tab
    • Click β€œActions” in the top menu
    • Look for any failed builds (red X)
    • Click on them to see error details
  2. Verify your repository name
    • Should be: cbreiss/breisslab
    • The URL will be: https://cbreiss.github.io/breisslab/
  3. Try a different approach
    • See the β€œAlternative Method” section below

πŸ”„ Alternative Method (If GitHub Actions Doesn’t Work)

If you can’t select β€œGitHub Actions”, try this:

  1. In Settings > Pages
  2. Under β€œSource”, select β€œDeploy from a branch”
  3. Under β€œBranch”, select β€œmain” (or β€œmaster”)
  4. Under β€œFolder”, select ”/ (root)”
  5. Click β€œSave”
  6. Wait 2-3 minutes
  7. Your site should be live!

Note: This method works but won’t use the custom workflow. The site will still function correctly.


Last Updated: February 1, 2024

For more help, see: