Do not ignore refs/heads/gh-pages

This commit is contained in:
alex 2015-12-18 10:57:38 +00:00
parent e70c11f06a
commit 5ca67d304c

View file

@ -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