search

Home  >  Q&A  >  body text

git 自动部署

git 服务器A
线上服务器 B

本地提交代码后 线上服务器怎么自动更新代码

仅有的幸福仅有的幸福2768 days ago835

reply all(4)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-05-02 09:23:21

    You can use gitHooks, but I personally don’t think it is very useful. I build it immediately as soon as there is a change. It is not suitable for teams, only suitable for individuals
    Personally, I recommend using polling to detect git version updates
    For details, please refer to my blog: http://huhao520.com/course-jenkins/
    or /a/1190000002895521

    reply
    0
  • 黄舟

    黄舟2017-05-02 09:23:21

    Continuous integration with jenkins

    reply
    0
  • 为情所困

    为情所困2017-05-02 09:23:21

    You can study webhooks

    reply
    0
  • PHPz

    PHPz2017-05-02 09:23:21

    Git Hooks

    reply
    0
  • Cancelreply