Skip to content

Mysterious behaviour (a bug?) of GitHub Pages on a project created from a template #22068

Answered by tmetz
sneas asked this question in General
Discussion options

You must be logged in to vote

Hi there! 👋 Welcome to the Community!

You have run into a quirk of using Actions to build Pages that is coming up more and more often.

In order to be built and published for the very first time, a GitHub Pages repository must have a commit pushed to the publishing source branch by a user with admin permissions for the repository, such as the repository owner.

In these cases, the github-actions user pushes, but doesn’t have admin access to the repository.

Once a commit has been pushed to the gh-pages branch by a user with admin permissions, you should find the site live and available shortly thereafter. Subsequent commits pushed by accounts with write access (like github-actions) will then…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants