Skip to content

Commit

Permalink
docs: update github pages deploying instructions (#1980)
Browse files Browse the repository at this point in the history
  • Loading branch information
acmu authored Feb 25, 2023
1 parent 803d5b6 commit 58f455b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/guide/deploying.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,13 @@ Don't enable options like _Auto Minify_ for HTML code. It will remove comments f
Please replace the corresponding branch name. For example, if the branch you want to build is `master`, then you should replace `main` with `master` in the above file.
:::

3. Now commit your code and push it to the `main` branch.
3. In your repository's Settings under Pages menu item, select `GitHub Actions` in Build and deployment's Source.

4. Wait for actions to complete.
4. Now commit your code and push it to the `main` branch.

5. In your repository's Settings under Pages menu item, select `gh-pages` branch as GitHub Pages source. Now your docs will automatically deploy each time you push.
5. Wait for actions to complete.

6. In your repository's Settings under Pages menu item, click `Visit site`, then you can see your site. Your docs will automatically deploy each time you push.

## GitLab Pages

Expand Down

0 comments on commit 58f455b

Please sign in to comment.