【问题标题】:Update hosted website files directly from github直接从 github 更新托管网站文件
【发布时间】:2016-08-14 16:21:20
【问题描述】:

有什么方法可以直接从 GitHub 更新我的网站 (php) 文件(托管在 godaddy 服务器上)?

【问题讨论】:

标签: github webserver hosting


【解决方案1】:

你可以edit file from the GitHub web interface.
从昨天开始,你甚至可以upload new files from the same interface。

在这两种情况下,都会触发一个pushEvent,您可以将其关联到WebHook。如果您在该 Godaddy 服务器上有 listener for that push event,您将能够从您的 GitHub 存储库中提取并更新您的网站。
参见例如项目fiddus/github-webhooks-listener。

【讨论】:

    猜你喜欢
    • 2018-03-09
    • 1970-01-01
    • 2018-11-08
    • 1970-01-01
    • 2020-09-08
    • 2015-11-19
    • 2010-10-18
    • 2018-05-13
    • 2011-02-17
    相关资源
    最近更新 更多