如何在服务挂钩(代码推送)事件后获取文件?

How can I get the file after Service Hook (Code pushed) event?

我在 代码推送 上触发了一个服务挂钩。我让事件正常运行,但我不知道如何获取对推送的文件的引用。

当使用 GitHub 挂钩时,我得到每个 commited/pushed 文件的引用。

您可以在收到服务挂钩通知后,通过RESTAPI编程获取修改后的文件。

With changed items