Skip to content

Commit

Permalink
Add note for gh-pages when initial branch is not named master (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
BareTuna authored Mar 26, 2024
1 parent d168539 commit b2e4768
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ We use [Trunk](https://trunkrs.dev/) to build for web target.
> To enable Github Pages, you need to go to Repository -> Settings -> Pages -> Source -> set to `gh-pages` branch and `/` (root).
>
> If `gh-pages` is not available in `Source`, just create and push a branch called `gh-pages` and it should be available.
>
> If you renamed the `master` branch to something else (say you re-initialized the repository with `main` as the initial branch), be sure to edit the github workflows `.github/workflows/pages.yml` file to reflect the change
> ```yml
> on:
> push:
> branches:
> - <branch name>
> ```
You can test the template app at <https://emilk.github.io/eframe_template/>.
Expand Down

0 comments on commit b2e4768

Please sign in to comment.