search

Home  >  Q&A  >  body text

git的钩子能使得我上传github.com上的时候,能触发更新到我自己的服务器么?

git的钩子能使得我上传github.com上的时候,能触发把最新代码更新到我自己的服务器么?

我是不是想太多了~~

PHP中文网PHP中文网2813 days ago615

reply all(2)I'll reply

  • 怪我咯

    怪我咯2017-04-24 09:15:20

    Yes, look at the picture, use webhooks & services,可在Just the push event. to set the request to your server, and then do the corresponding processing

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-24 09:15:20

    You can set up webhook for github.com.

    https://help.github.com/articles/creating-webhooks

    reply
    0
  • Cancelreply