mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-27 04:11:03 +00:00
Do not ignore refs/heads/gh-pages
This commit is contained in:
parent
e70c11f06a
commit
5ca67d304c
1 changed files with 0 additions and 4 deletions
|
@ -356,10 +356,6 @@ func (g *Github) push(r *http.Request) (*model.Repo, *model.Build, error) {
|
|||
// default gravatar?
|
||||
}
|
||||
|
||||
// we should ignore github pages
|
||||
if build.Ref == "refs/heads/gh-pages" {
|
||||
return nil, nil, nil
|
||||
}
|
||||
if strings.HasPrefix(build.Ref, "refs/tags/") {
|
||||
// just kidding, this is actually a tag event
|
||||
build.Event = model.EventTag
|
||||
|
|
Loading…
Reference in a new issue