From 5ca67d304cfd56f666ecc7305c958f147eac9468 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 18 Dec 2015 10:57:38 +0000 Subject: [PATCH] Do not ignore refs/heads/gh-pages --- remote/github/github.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/remote/github/github.go b/remote/github/github.go index a27bbe277..4d44b43ca 100644 --- a/remote/github/github.go +++ b/remote/github/github.go @@ -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