add page build event · barkinet/developer.github.com@5bcb112 · GitHub
Skip to content

Commit 5bcb112

Browse files
committed
add page build event
1 parent a6d39b9 commit 5bcb112

4 files changed

Lines changed: 32 additions & 1 deletion

File tree

Lines changed: 14 additions & 0 deletions

content/v3/activity/events/types.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,3 +405,19 @@ event’s repository is the [repository](/v3/repos/) that was starred.
405405
Key | Type | Description
406406
----|------|-------------
407407
`action`|`string` | The action that was performed. Currently, can only be `started`.
408+
409+
## PageBuildEvent
410+
411+
Represents an attempted build of a GitHub Pages site, whether successful or not.
412+
413+
Triggered on push to a GitHub Pages enabled branch (`gh-pages` for project pages, `master` for user and organization pages).
414+
415+
### Hook Name
416+
417+
`page_build`
418+
419+
### Payload
420+
421+
Key | Type | Description
422+
----|------|------------
423+
`build` | `object` | The [page build](http://developer.github.com/v3/repos/pages/#list-pages-builds) itself.

content/webhooks/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ Name | Description
7777
`status` | Any time a Repository has a status update from the API
7878
`deployment` | Any time a Repository has a new deployment created from the API.
7979
`deployment_status` | Any time a deployment for the Repository has a status update from the API.
80+
`page_build` | Any time a Pages site is built or results in a failed build.
8081
`*` | Any time any event is triggered ([Wildcard Event](#wildcard-event)).
8182

82-
8383
### Payloads
8484

8585
The payloads for all hooks mirror [the payloads for the Event

lib/resources.rb

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)