How to force GitHub Pages build?

前端 未结 9 1574
天涯浪人
天涯浪人 2020-12-12 14:41

Every GitHub repository can have (or be) a GitHub Pages website, that can be built with Jekyll. GitHub builds the site every time you push a new commit.
Is there a way t

9条回答
  •  囚心锁ツ
    2020-12-12 15:24

    This is doable as of v3 of the GitHub API, though it is currently in preview https://developer.github.com/v3/repos/pages/#request-a-page-build

    POST /repos/:owner/:repo/pages/builds
    

提交回复
热议问题