From b2e4768f77982c624409e72bf25bacdaf67bc777 Mon Sep 17 00:00:00 2001 From: Tuna <61174959+BareTuna@users.noreply.github.com> Date: Tue, 26 Mar 2024 10:23:32 -0600 Subject: [PATCH] Add note for gh-pages when initial branch is not named master (#117) --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 549b18bc..52f21466 100644 --- a/README.md +++ b/README.md @@ -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: +> - +> ``` You can test the template app at .