diff --git a/remote/github/types.go b/remote/github/types.go index f298f5852..2f0bac4fc 100644 --- a/remote/github/types.go +++ b/remote/github/types.go @@ -29,7 +29,39 @@ type pushHook struct { Sender struct { Login string `json:"login"` Avatar string `json:"avatar_url"` - } + } `json:"sender"` + + Repo struct { + Owner struct { + Login string `json:"login"` + Name string `json:"name"` + } `json:"owner"` + + Name string `json:"name"` + FullName string `json:"full_name"` + Language string `json:"language"` + Private bool `json:"private"` + HTMLURL string `json:"html_url"` + CloneURL string `json:"clone_url"` + DefaultBranch string `json:"default_branch"` + } `json:"repository"` +} + +type deployHook struct { + Deployment struct { + ID int64 `json:"id"` + Sha string `json:"sha"` + Ref string `json:"ref"` + Task string `json:"task"` + Env string `json:"environment"` + Url string `json:"url"` + Desc string `json:"description"` + } `json:"deployment"` + + Sender struct { + Login string `json:"login"` + Avatar string `json:"avatar_url"` + } `json:"sender"` Repo struct { Owner struct { diff --git a/static/styles/modules/timeline.sass b/static/styles/modules/timeline.sass index 342fa421c..b1f74e6da 100644 --- a/static/styles/modules/timeline.sass +++ b/static/styles/modules/timeline.sass @@ -10,7 +10,7 @@ border-radius: 0px; border-top: 1px solid #eceeef; text-decoration: none; - color: 2b303b; + color: #2b303b; .card-header background: #FFF; border: none; diff --git a/static/styles_gen/style.css b/static/styles_gen/style.css index 4acd75405..a96f11fd1 100644 --- a/static/styles_gen/style.css +++ b/static/styles_gen/style.css @@ -88,7 +88,7 @@ input[type=range]:focus::-ms-fill-upper { background: #367ebd; } .timeline { padding-left: 50px; position: relative; margin-top: 10px; margin-bottom: 40px; } -.timeline .card { display: flex; border: none; border-radius: 0px; border-top: 1px solid #eceeef; text-decoration: none; color: 2b303b; } +.timeline .card { display: flex; border: none; border-radius: 0px; border-top: 1px solid #eceeef; text-decoration: none; color: #2b303b; } .timeline .card .card-header { background: #FFF; border: none; padding: 0px; width: 50px; min-width: 50px; max-width: 50px; padding-top: 30px; }