PY-1.4-BP5-MQ50

Objective

Let's begin by reviewing our objective.

Navigate to your project's repository settings on GitHub and configure GitHub Pages to deploy from the main branch and the root directory.

Check Spec

Next, we'll perform initial verification steps to understand the current state.

Before making changes, navigate to your project's repository on GitHub.com and locate the 'Settings' tab. Familiarize yourself with the current state of the 'Pages' settings, if any exist. This confirms the engineering specification we need to meet: configuring these settings correctly.

Implement: Configure GitHub Pages

Now, let's build the solution by following the instructions to configure GitHub Pages.

Step by step checklist:

  1. Go to your repository on GitHub.com.
  2. Navigate to the "Settings" tab.
  3. In the left-hand menu, find and click on "Pages".
  4. Under "Build and deployment", select "Deploy from a branch".
  5. Under "Branch", choose the branch you want to deploy from (usually main).
  6. Select the directory where your index.html and other web files are located, choosing / (root).
  7. Click "Save".

The following documentation sections are going to be helpful:

  • GitHub Pages Configuration
  • GitHub Pages

Validate

With the changes in place, let's re-verify our work to ensure it meets the specification.

Navigate back to the 'Settings' -> 'Pages' section of your GitHub repository. Verify that the 'Source' is set to 'Deploy from a branch', the selected branch is main, and the directory is set to / (root). The page should indicate that your site is being built or is live at the specified URL.

Verification Results:

  • ✅ Confirmed GitHub Pages is configured to deploy from a branch.
  • ✅ Confirmed the deployment branch is set to main.
  • ✅ Confirmed the deployment directory is set to / (root). All verification steps passed!

Documentation

Documentation not available for PY-1.4-BP5.