-
How can the configuration be changed if the site is on the master branch? What would be the repos structure with Is there any specifics in installing action for Hugo? Should both actions be installed? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
If your default branch is master (main) and you are using the
|
Beta Was this translation helpful? Give feedback.
If your default branch is master (main) and you are using the
gh-pages
as the GitHub Pages branchJust follow the README.
If you are using master branch as the GitHub Pages branch
If you are a senior GitHub user, you know that the GitHub Pages branch was limited to
gh-pages
ormaster
only in the old days. Today, we can select any branch as the GitHub Pages branch.OnlyToday, any branch.gh-pages
.peaceiris/peaceiris.github.io
):OnlyToday, any branch.master
.For more details and the latest spec, see the official documentation: GitHub Pages Documentation - GitHub Docs
Here is an example workflow for the old GitHub users.
Usecase:
source
branc…