Automatically deploy WordPress site to server after repository commit with Git

Posted in:
Update time:2018-05-10

We offer WordPress Themes and Plugins Custom Development Services

This site has long undertaken WordPress themes, plugins, WooCommerce-based store mall development business. We have 10 years of experience in WordPress development, if you want to Developing Websites with WordPress, please contact WeChat: iwillhappy1314 or email: amos@wpcio.com for inquiries.

6 thoughts on “利用 Git 在仓库提交后自动部署 WordPress 站点到服务器

  1. 看来你这篇文章,原来这么简单啊。。很久以前我寻思捣鼓过,还在segmentfault上提问了,后来还是没解决。
    好久没来了,也都变成https了啊,现在越来越多的个人都有了。

  2. 我想用远程git,比如说我把新的主题代码推送给github然后让服务器自动更新,应该怎么实现

    1. 这个需求可以通过 Github 的 webhooks 来实现,有这样的 WordPress插件,你可以找找试一下。

发表回复

Your email address will not be published. 必填项已用 * 标注

*