0 votes
in GitHub by
Explain about the page_build webhook trigger event in Github?

1 Answer

0 votes
by
Webhook event payloadActivity typesGITHUB_SHAGITHUB_REF
page_buildNot applicableLast commit on default branchNot applicable

Note: This event will only trigger a workflow run if the workflow file is on the default branch.

Runs your workflow when someone pushes to a branch that is the publishing source for GitHub Pages, if GitHub Pages is enabled for the repository. 

For example, you can run a workflow when the page_build event occurs.

on:
  page_build
...