From 841d0842f57dc575eeb7b19c98558ee5f05190aa Mon Sep 17 00:00:00 2001 From: Ger Teck Date: Fri, 21 Jun 2024 10:58:43 +0800 Subject: [PATCH] Add info Add notice to enable github pages on first deployment --- docs/userGuide/deployingTheSite.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/userGuide/deployingTheSite.md b/docs/userGuide/deployingTheSite.md index 5cd1d0030..dd8d1e1b7 100644 --- a/docs/userGuide/deployingTheSite.md +++ b/docs/userGuide/deployingTheSite.md @@ -125,7 +125,13 @@ jobs: The sample `deploy.yml` workflow above uses the [default GitHub Token secret](https://docs.github.com/en/actions/reference/authentication-in-a-workflow) that is generated automatically for each GitHub Actions workflow. You may also use a [GitHub Personal Access Token](#generating-a-github-personal-access-token) in place of the default GitHub Token. -Once you have created the file, commit and push the file to your repo. GitHub Actions should start to build and deploy your MarkBind site. You can verify this by visiting `www.github.com///actions`. +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. + +GitHub Actions should start to build and deploy your MarkBind site. You can verify this by visiting `www.github.com///actions`.