You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+17-38
Original file line number
Diff line number
Diff line change
@@ -14,50 +14,29 @@ _Create a site or blog from your GitHub repositories with GitHub Pages._
14
14
</header>
15
15
16
16
<!--
17
-
<<< Author notes: Course start >>>
18
-
Include start button, a note about Actions minutes,
19
-
and tell the learner why they should take the course.
17
+
<<< Author notes: Step 1 >>>
18
+
Choose 3-5 steps for your course.
19
+
The first step is always the hardest, so pick something easy!
20
+
Link to docs.github.com for further explanations.
21
+
Encourage users to open new tabs for steps!
20
22
-->
21
23
22
-
## Welcome
24
+
## Step 1: Enable GitHub Pages
23
25
24
-
With GitHub Pages, you can host project blogs, documentation, resumes, portfolios, or any other static content you'd like. Your GitHub repository can easily become its own website. In this course, we'll show you how to set up your own site or blog using GitHub Pages.
26
+
_Welcome to GitHub Pages and Jekyll :tada:!_
25
27
26
-
-**Who is this for**: Beginners, students, project maintainers, small businesses.
27
-
-**What you'll learn**: How to build a GitHub Pages site.
28
-
-**What you'll build**: We'll build a simple GitHub Pages site with a blog. We'll use [Jekyll](https://jekyllrb.com), a static site generator.
29
-
-**Prerequisites**: If you need to learn about branches, commits, and pull requests, take [Introduction to GitHub](https://github.com/skills/introduction-to-github) first.
30
-
-**How long**: This course takes less than one hour to complete.
28
+
The first step is to enable GitHub Pages on this [repository](https://docs.github.com/en/get-started/quickstart/github-glossary#repository). When you enable GitHub Pages on a repository, GitHub takes the content that's on the main branch and publishes a website based on its contents.
1. Right-click **Start course** and open the link in a new tab.
56
-
2. In the new tab, most of the prompts will automatically fill in for you.
57
-
- For owner, choose your personal account or an organization to host the repository.
58
-
- We recommend creating a public repository, as private repositories will [use Actions minutes](https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions).
59
-
- Scroll down and click the **Create repository** button at the bottom of the form.
60
-
3. After your new repository is created, wait about 20 seconds, then refresh the page. Follow the step-by-step instructions in the new repository's README.
32
+
1. Open a new browser tab, and work on the steps in your second tab while you read the instructions in this tab.
33
+
1. Under your repository name, click **Settings**.
34
+
1. Click **Pages** in the **Code and automation** section.
35
+
1. Ensure "Deploy from a branch" is selected from the **Source** drop-down menu, and then select `main` from the **Branch** drop-down menu.
36
+
1. Click the **Save** button.
37
+
1. Wait about _one minute_ then refresh this page (the one you're following instructions from). [GitHub Actions](https://docs.github.com/en/actions) will automatically update to the next step.
38
+
> Turning on GitHub Pages creates a deployment of your repository. GitHub Actions may take up to a minute to respond while waiting for the deployment. Future steps will be about 20 seconds; this step is slower.
39
+
> **Note**: In the **Pages** of **Settings**, the **Visit site** button will appear at the top. Click the button to see your GitHub Pages site.
0 commit comments