Skip to content
Discussion options

You must be logged in to vote

OK I've found the problem. Workflow creates an environment called github-pages which did indeed have a protection rule of branch master. Shortly after creating the repo I renamed default branch to main. So I had to update the env protection rule to match default branch and deployment worked.

Replies: 17 comments 11 replies

Comment options

You must be logged in to vote
3 replies
@yoannchaudet
Comment options

@PetterGs
Comment options

@yoannchaudet
Comment options

Answer selected by yoannchaudet
Comment options

You must be logged in to vote
1 reply
@elvisdragonmao
Comment options

Comment options

You must be logged in to vote
7 replies
@jdogmcsteezy
Comment options

@MathiasHaudgaard
Comment options

@HenrySpartGlobal
Comment options

@davidkun
Comment options

@EastSun5566
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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
Pages Host a static website, right from your repo General General topics and discussions that don't fit into other categories, but are related to GitHub Enterprise Discussions related to GitHub Enterprise Cloud, Enterprise Server and Organizations Enterprise Admin Topics specifically related to GitHub Enterprise administration