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.
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.
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.
Now, let's build the solution by following the instructions to configure GitHub Pages.
main
).index.html
and other web files are located, choosing / (root)
.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:
main
./ (root)
.
All verification steps passed!