From fa1c801c11378e43a0ac9282026f3c1c6de86bd9 Mon Sep 17 00:00:00 2001 From: Ger Teck Date: Mon, 24 Jun 2024 09:03:28 +0800 Subject: [PATCH] Reposition enable github pages --- docs/userGuide/deployingTheSite.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/userGuide/deployingTheSite.md b/docs/userGuide/deployingTheSite.md index dd8d1e1b7..c90cfb76b 100644 --- a/docs/userGuide/deployingTheSite.md +++ b/docs/userGuide/deployingTheSite.md @@ -47,8 +47,6 @@ This documentation currently uses `master` as the default branch name. If your r Running the **`markbind deploy`** command will deploy the most recent build of your site to the `gh-pages` branch of the repo `origin` and will be available. -Then, navigate to the `Settings > Pages` section on GitHub for that repository and set the source to the root of the `gh-pages` branch. You can read [this source](https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site#creating-your-site) on GitHub Pages for more details. - Your site will be online at `http://.github.io/` (e.g., http://se-edu.github.io/se-book).
@@ -127,9 +125,7 @@ The sample `deploy.yml` workflow above uses the [default GitHub Token secret](ht Once you have created the file, commit and push the file to your repo. -For the first deployment on GitHub Pages, you will need to manually configure and enable GitHub Pages. -* Navigate to the `Settings > Pages` section on GitHub for your repository. -* Select `Deploy from a branch` in the `Source` dropdown, and set the source branch to the root of the `gh-pages` branch. +Then, navigate to the `Settings > Pages` section on GitHub for that repository and set the source to the root of the `gh-pages` branch. You can read [this source](https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site#creating-your-site) on GitHub Pages for more details. GitHub Actions should start to build and deploy your MarkBind site. You can verify this by visiting `www.github.com///actions`.