Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User pages must be built from the master branch. #1324

Closed
zetaraku opened this issue Feb 21, 2020 · 3 comments · Fixed by #1499
Closed

User pages must be built from the master branch. #1324

zetaraku opened this issue Feb 21, 2020 · 3 comments · Fixed by #1499
Labels
documentation Improvements or additions to documentation

Comments

@zetaraku
Copy link

The tutorial on https://hexo.io/docs/github-pages is assuming using username.github.io (an User page repo) as the target repo.

And on step 10:

In your GitHub repo’s setting, navigate to “GitHub Pages” section and change Source to gh-pages branch.

But the "GitHub Pages" section of the username.github.io repo says:

User pages must be built from the master branch.

Changing the source to branches other than master was impossible.

@ghost
Copy link

ghost commented Mar 2, 2020

I agree with you. I also couldn't change the Source to gh-pages branch". Users could only change (default) branch which is meaningless as GitHub told us the "user pages must be built from the master branch".
Capture

I would suggest the developers to make up a new doc.

@SukkaW SukkaW added the documentation Improvements or additions to documentation label Mar 2, 2020
@SukkaW
Copy link
Member

SukkaW commented Mar 2, 2020

@zetaraku @ivth04

hexo-deployer-git use gh-pages by default if you have configured a repo with github.com and no custom branch is configured.

@cosing
Copy link

cosing commented Apr 22, 2020

zh-CN:
这里给出了一份详尽的解释
en-US:
thiregive a explain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants